Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src 80 column police.



details:   https://anonhg.NetBSD.org/src/rev/d19fca46b517
branches:  trunk
changeset: 507640:d19fca46b517
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Mar 28 03:17:41 2001 +0000

description:
80 column police.

diffstat:

 usr.bin/fdformat/fdformat.c |   7 +++++--
 usr.bin/passwd/passwd.c     |   7 ++++---
 usr.bin/usbhidctl/usbhid.c  |  16 +++++++++++-----
 usr.sbin/lpr/lpd/lpd.c      |   8 ++++----
 4 files changed, 24 insertions(+), 14 deletions(-)

diffs (108 lines):

diff -r a3fff3b0d444 -r d19fca46b517 usr.bin/fdformat/fdformat.c
--- a/usr.bin/fdformat/fdformat.c       Wed Mar 28 03:17:23 2001 +0000
+++ b/usr.bin/fdformat/fdformat.c       Wed Mar 28 03:17:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdformat.c,v 1.8 2001/02/19 23:03:45 cgd Exp $ */
+/*     $NetBSD: fdformat.c,v 1.9 2001/03/28 03:17:41 simonb Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -118,7 +118,10 @@
 usage(void)
 {
 
-       fprintf(stderr, "Usage: %s [-f device] [-t type] [-n] [-B nbps] [-S nspt]\n\t[-T ntrk] [-C ncyl] [-P stepspercyl] [-G gaplen]\n\t[-F fillbyte] [-X xfer_rate] [-I interleave]\n", 
getprogname());
+       fprintf(stderr,
+           "Usage: %s [-f device] [-t type] [-n] [-B nbps] [-S nspt]\n"
+           "\t[-T ntrk] [-C ncyl] [-P stepspercyl] [-G gaplen]\n"
+           "\t[-F fillbyte] [-X xfer_rate] [-I interleave]\n", getprogname());
        exit(1);
 }
 
diff -r a3fff3b0d444 -r d19fca46b517 usr.bin/passwd/passwd.c
--- a/usr.bin/passwd/passwd.c   Wed Mar 28 03:17:23 2001 +0000
+++ b/usr.bin/passwd/passwd.c   Wed Mar 28 03:17:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: passwd.c,v 1.21 2001/02/19 23:03:50 cgd Exp $  */
+/*     $NetBSD: passwd.c,v 1.22 2001/03/28 03:17:42 simonb Exp $       */
 
 /*
  * Copyright (c) 1988, 1993, 1994
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "from: @(#)passwd.c    8.3 (Berkeley) 4/2/94";
 #else
-__RCSID("$NetBSD: passwd.c,v 1.21 2001/02/19 23:03:50 cgd Exp $");
+__RCSID("$NetBSD: passwd.c,v 1.22 2001/03/28 03:17:42 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -142,7 +142,8 @@
                if (pw_modules[i].invalid)
                        continue;
 
-               pw_modules[i].invalid |= (*pw_modules[i].pw_init)(getprogname()) ?
+               pw_modules[i].invalid |=
+                   (*pw_modules[i].pw_init)(getprogname()) ?
                    /* zero on success, non-zero on error */
                    INIT_INVALID : 0;
 
diff -r a3fff3b0d444 -r d19fca46b517 usr.bin/usbhidctl/usbhid.c
--- a/usr.bin/usbhidctl/usbhid.c        Wed Mar 28 03:17:23 2001 +0000
+++ b/usr.bin/usbhidctl/usbhid.c        Wed Mar 28 03:17:41 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: usbhid.c,v 1.16 2001/02/19 23:03:52 cgd Exp $ */
+/*      $NetBSD: usbhid.c,v 1.17 2001/03/28 03:17:42 simonb Exp $ */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -592,10 +592,16 @@
 {
        const char *progname = getprogname();
 
-       fprintf(stderr, "Usage: %s -f device [-t tablefile] [-l] [-v] -a\n", progname);
-       fprintf(stderr, "       %s -f device [-t tablefile] [-v] -r\n", progname);
-       fprintf(stderr, "       %s -f device [-t tablefile] [-l] [-n] [-v] name ...\n", progname);
-       fprintf(stderr, "       %s -f device [-t tablefile] -w name=value ...\n", progname);
+       fprintf(stderr, "Usage: %s -f device [-t tablefile] [-l] [-v] -a\n",
+           progname);
+       fprintf(stderr, "       %s -f device [-t tablefile] [-v] -r\n",
+           progname);
+       fprintf(stderr,
+           "       %s -f device [-t tablefile] [-l] [-n] [-v] name ...\n",
+           progname);
+       fprintf(stderr,
+           "       %s -f device [-t tablefile] -w name=value ...\n",
+           progname);
        exit(1);
 }
 
diff -r a3fff3b0d444 -r d19fca46b517 usr.sbin/lpr/lpd/lpd.c
--- a/usr.sbin/lpr/lpd/lpd.c    Wed Mar 28 03:17:23 2001 +0000
+++ b/usr.sbin/lpr/lpd/lpd.c    Wed Mar 28 03:17:41 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lpd.c,v 1.27 2001/02/19 23:22:44 cgd Exp $     */
+/*     $NetBSD: lpd.c,v 1.28 2001/03/28 03:17:42 simonb Exp $  */
 
 /*
  * Copyright (c) 1983, 1993, 1994
@@ -45,7 +45,7 @@
 #if 0
 static char sccsid[] = "@(#)lpd.c      8.7 (Berkeley) 5/10/95";
 #else
-__RCSID("$NetBSD: lpd.c,v 1.27 2001/02/19 23:22:44 cgd Exp $");
+__RCSID("$NetBSD: lpd.c,v 1.28 2001/03/28 03:17:42 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -686,8 +686,8 @@
 usage()
 {
 
-       fprintf(stderr, "usage: %s [-dlrs] [-b bind-address] [-n maxchild] [-w maxwait] [port]\n",
-           getprogname());
+       fprintf(stderr, "usage: %s [-dlrs] [-b bind-address] [-n maxchild] "
+           "[-w maxwait] [port]\n", getprogname());
        exit(1);
 }
 



Home | Main Index | Thread Index | Old Index