897afca5 ngie Jan. 15, 2017, 9:53 p.m.
pick up NBBY, etc
cgit ViewVC
6b9e8e4e ngie Jan. 15, 2017, 9:52 p.m.
This just defines wrusage to __wrusage for now (they're both structs).
cgit ViewVC
bfb8e4c9 ngie Jan. 15, 2017, 9:38 p.m.
eec0029f ngie Jan. 15, 2017, 9:18 p.m.
- stdio.h needs to pull in stdio.h/util.h for fparseln, not util.h
- util.h needs to #include sys/types.h for flags_to_string, etc as
  flags_to_string uses u_long, which is typedef'ed in sys/types.h on
cgit ViewVC
6bd75de9 tsoome Jan. 15, 2017, 8:03 p.m.
The find_currdev() is using variable "copy" to store the reference to trimmed
devpath pointer, if for some reason the efi_devpath_handle() fails, we will
leak this copy.

Also we can simplify the code there a bit.

Reviewed by:	allanjude
Approved by:	allanjude (mentor)
Differential Revision:	https://reviews.freebsd.org/D9191
cgit ViewVC
e0812c14 adrian Jan. 15, 2017, 7:49 p.m.
There's already a macro for MGT.
cgit ViewVC
1d64db52 cem Jan. 15, 2017, 6 p.m.
No functional change.

PR:		216096, 216097, 216098, 216101, 216102, 216106, 216109, 216110
Reported by:	Bulat <bltsrc at mail.ru>
Sponsored by:	Dell EMC Isilon
cgit ViewVC
db4fcadf cem Jan. 15, 2017, 5:54 p.m.
Replace archaic "busses" with modern form "buses."

Intentionally excluded:
* Old/random drivers I didn't recognize
  * Old hardware in general
* Use of "busses" in code as identifiers

No functional change.


PR:		216099
Reported by:	bltsrc at mail.ru
Sponsored by:	Dell EMC Isilon
cgit ViewVC
953f538e mav Jan. 15, 2017, 1:57 p.m.
MFC after:	1 week
cgit ViewVC
f3190596 mav Jan. 15, 2017, 1:51 p.m.
MFC after:	1 week
cgit ViewVC
a04bd580 jilles Jan. 15, 2017, 1:40 p.m.
sh has defaulted to 'set -o emacs' since FreeBSD 9.0. Therefore, do not set
this again in .shrc, since that only serves to prevent invocations like
'sh -o vi' and 'sh +o emacs' to have the intended effect.

PR:		215958
Submitted by:	Andras Farkas
MFC after:	1 week
cgit ViewVC
2714e44c dim Jan. 15, 2017, 12:58 p.m.
d1978d1b mav Jan. 15, 2017, 12:24 p.m.
Previously code ignored resid field and returned extra zeroes in case of
data underflow.  Now it returns only real bytes received from target.

MFC after:	2 weeks
cgit ViewVC
17274d52 ngie Jan. 15, 2017, 10:33 a.m.
9b6d9881 ngie Jan. 15, 2017, 10:29 a.m.
I meant to replace "exp" with "exponent", not "expected"

MFC after:	13 days
Pointyhat to:	ngie
Submitted by:	bde
cgit ViewVC