Commit Graph

31 Commits

Author SHA1 Message Date
joerg
5bb1ddccc2 Use __dead 2011-08-29 14:51:17 +00:00
lukem
2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
msaitoh
8ce1f4fff2 fix typos 2007-04-29 20:23:34 +00:00
lukem
5760da6393 appease gcc -Wuninitialized 2005-06-01 15:12:18 +00:00
dsl
238960af7e Add (unsigned char) cast to ctype function 2004-10-29 19:51:36 +00:00
wiz
f1891abd4d Sync usage with man page. Closes PR 25861 by Kouichirou Hiratsuka. 2004-06-25 14:27:57 +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
jschauma
420b2ac8ff Remove unused code left over from temporary printescaped functionality.
Noted by Jeff Ito in PR bin/23967.
2004-01-04 03:34:00 +00:00
jschauma
6a75fbb636 Following private discussion with kleink@ and hubertf@ and public discussion
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
jschauma
ca5d0a41d2 Fix two more memory leaks found by Hubert Feyrer. 2003-08-21 04:30:25 +00:00
jschauma
458ed23412 As discusses a little while back on tech-userlevel:
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.

While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
itojun
0f62c3f25a no need for \n on errx 2002-06-11 05:33:51 +00:00
enami
cda5eec6df - Don't put space before function call operator.
- Remove trailing whitespace.
- Put an empty line if function doesn't have local variables.
- Use tab instead of spaces.
2002-05-02 13:07:01 +00:00
wiz
48366c095a Add setprogname call. Patch from Petri Koistinen. 2001-09-16 12:13:33 +00:00
wiz
793d1a41f0 ANSIfication and KNF fixes by Petri Koistinen via bin/13690. 2001-09-13 10:00:44 +00:00
cgd
668a4dd967 convert to use getprogname() 2001-02-19 22:39:39 +00:00
thorpej
5f00e0501e Report vendor-specific data length, if any. 1999-09-09 23:32:10 +00:00
thorpej
01f9e93658 Update for changes to the changer driver. 1999-09-09 23:24:29 +00:00
thorpej
589d0234df formatting nits. 1999-09-08 04:57:37 +00:00
hubertf
c1cd535e46 Some code cleanup to collect all the usage strings in one place.
Asked for and reviewd by Jason thorpe.
1999-08-05 02:47:09 +00:00
mycroft
9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
mycroft
ce7d757530 Delint. 1998-07-28 03:47:14 +00:00
mycroft
4d669802e4 const propagation. 1998-07-27 15:25:06 +00:00
hpeyerl
b64bbed230 userland interface to ATA CD changer devices by Jason Thorpe. 1998-07-13 12:06:18 +00:00
thorpej
d07708b38e Make lint(1) happy. 1998-01-04 23:53:58 +00:00
mjacob
9f482818bc Add 'initialize element status' command; note (for future fixing in ch.c)
that a number of jukeboxes can't cope with DBD (disable block descriptors)-
we'll have to fix that some day.
1997-09-29 17:32:23 +00:00
lukem
d0c91e4214 use memset instead of bzero 1997-09-15 13:15:16 +00:00
thorpej
999a0da954 Make sure printf field widths are "int"s. 1997-07-20 05:31:47 +00:00
thorpej
baebd086f9 - Use __COPYRIGHT() and __RCSID().
- Fix compiler warnings.
1997-07-20 04:44:53 +00:00
thorpej
b4ffe0bfe2 Utility to control media changers from the command line; corresponds
to new SCSI changer driver.
1996-04-03 00:34:38 +00:00