Searched hist:203290 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/lib/libc/gen/
H A Ddevname.cdiff 203290 Sun Jan 31 15:05:51 MST 2010 ed Perform some cleanups to devname(3).

- Make sure the mode argument is either a character or a block device.
- Use S_IS*() instead of checking S_IF*-flags by hand.
- Don't use kern.devname when the argument is already NODEV.
- Always call snprintf with the proper amount of arguments corresponding
with the format.
- Perform some whitespace fixes. Tabs instead of 4 spaces, missing space
for return statement.
- Remove unneeded includes.

Completed in 94 milliseconds