Commit Graph

16 Commits

Author SHA1 Message Date
dsl 9122339b9f Add (unsigned char) cast to ctype functions 2004-10-30 15:39:39 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
jmc e167e82b65 Don't use L_SET as it's not portable and this is a host tool 2003-11-16 22:47:07 +00:00
kleink d9c0b26cbc <sys/fcntl.h> -> <fcntl.h> in previous. Also, remove inclusion of
<sys/file.h>, which seems to be the intention of the previous change.
2003-11-12 12:06:24 +00:00
matt f851399943 O_* live in <sys/fcntl.h> not <sys/file.h>
Don't use TERMCAP if HOSTPROG.
2003-11-12 02:17:53 +00:00
itojun d9f2774c1e use bounded string op 2003-07-13 12:08:28 +00:00
augustss 889cc758e5 Make this compile on non-NetBSD machines. 2003-02-05 22:47:38 +00:00
uwe 59e06de8b5 When built as a host tool, don't search /dev as we only use sunlabel
on the disk image.  This ifdefs out a call to getrawpartition() so we
don't have to provide a compatibility replacement for it.
2003-01-27 01:29:06 +00:00
lukem 52c78c8a7d - make "device" non optional and remove "-d device", and actually make
it work with "device"...
- tweak the docco a bit
2002-12-21 08:11:28 +00:00
lukem 133ea6e570 improve help display
minor KNF
2002-12-21 06:53:29 +00:00
grant eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
wiz 77c1358a2b Remove superfluous #endif. bin/16840 by der Mouse. 2002-05-16 09:55:50 +00:00
mrg 9d319aba7a s/Der Mouse/der Mouse/.
reinstate the S_COMMAND #ifdefs.
2002-02-11 03:47:05 +00:00
christos 03dae382df - KNF... Add NetBSD copyright, pass lint, getopt, modernize, blah. 2002-01-10 21:43:10 +00:00
mrg 4ef0e6e1a3 - add a -h option
- kill warnings
- use getmaxpartitions()

XXX: consider renaming options to more standard names and use getopt(3).
2002-01-10 16:26:01 +00:00
mrg 6659b0b88f der Mouse's sunlabel 2002-01-09 12:59:29 +00:00