Ed Schouten 49e5c8f314 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.
2010-01-31 14:51:04 +00:00
..
2010-01-02 09:58:07 +00:00
2009-10-26 17:27:30 +00:00
2010-01-31 14:51:04 +00:00
2010-01-12 17:38:23 +00:00
2010-01-02 09:58:07 +00:00
2010-01-02 09:58:07 +00:00
2010-01-27 21:01:21 +00:00
2010-01-02 09:58:07 +00:00
2010-01-02 09:58:07 +00:00
2010-01-18 19:10:14 +00:00
2010-01-21 15:01:09 +00:00
2010-01-13 18:53:06 +00:00
2010-01-02 09:58:07 +00:00
2010-01-02 09:58:07 +00:00