diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-10-11 01:43:46 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-10-11 01:43:46 +0000 |
commit | 2c2f3e3ee7c428e5520e5564cacd6723fa859ab5 (patch) | |
tree | 5e7adf47548aa3b3e5a6a085b3dd3ddecb480e0d /sbin | |
parent | 904af20dfd5dd6cfa44e12748131539d6003a9ec (diff) |
consistent newlines, from tom cosgrove at arches-consulting.com.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck_ffs/inode.c | 8 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass1.c | 6 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass2.c | 8 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass4.c | 6 | ||||
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 6 |
5 files changed, 17 insertions, 17 deletions
diff --git a/sbin/fsck_ffs/inode.c b/sbin/fsck_ffs/inode.c index d64b96c7539..cc247a4a0b1 100644 --- a/sbin/fsck_ffs/inode.c +++ b/sbin/fsck_ffs/inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inode.c,v 1.25 2003/09/25 04:23:26 deraadt Exp $ */ +/* $OpenBSD: inode.c,v 1.26 2003/10/11 01:43:45 tedu Exp $ */ /* $NetBSD: inode.c,v 1.23 1996/10/11 20:15:47 thorpej Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)inode.c 8.5 (Berkeley) 2/8/95"; #else -static const char rcsid[] = "$OpenBSD: inode.c,v 1.25 2003/09/25 04:23:26 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: inode.c,v 1.26 2003/10/11 01:43:45 tedu Exp $"; #endif #endif /* not lint */ @@ -372,7 +372,7 @@ cacheino(struct ufs1_dinode *dp, ino_t inumber) blks = NDADDR + NIADDR; inp = malloc(sizeof(*inp) + (blks ? blks - 1 : 0) * sizeof(daddr_t)); if (inp == NULL) - errexit("cannot allocate memory for inode cache"); + errexit("cannot allocate memory for inode cache\n"); inpp = &inphead[inumber % numdirs]; inp->i_nexthash = *inpp; *inpp = inp; @@ -535,7 +535,7 @@ blkerror(ino_t ino, char *type, daddr_t blk) return; default: - errexit("BAD STATE %d TO BLKERR", statemap[ino]); + errexit("BAD STATE %d TO BLKERR\n", statemap[ino]); /* NOTREACHED */ } } diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index b1d25aa6b9f..0f0fcfd7e56 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass1.c,v 1.14 2003/08/25 23:28:15 tedu Exp $ */ +/* $OpenBSD: pass1.c,v 1.15 2003/10/11 01:43:45 tedu Exp $ */ /* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pass1.c 8.1 (Berkeley) 6/5/93"; #else -static const char rcsid[] = "$OpenBSD: pass1.c,v 1.14 2003/08/25 23:28:15 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: pass1.c,v 1.15 2003/10/11 01:43:45 tedu Exp $"; #endif #endif /* not lint */ @@ -173,7 +173,7 @@ checkinode(ino_t inumber, struct inodesc *idesc) if (bread(fsreadfd, symbuf, fsbtodb(&sblock, dp->di_db[0]), (long)secsize) != 0) - errexit("cannot read symlink"); + errexit("cannot read symlink\n"); if (debug) { symbuf[dp->di_size] = 0; printf("convert symlink %d(%s) of size %llu\n", diff --git a/sbin/fsck_ffs/pass2.c b/sbin/fsck_ffs/pass2.c index 6f82b3c2055..83e2a14443c 100644 --- a/sbin/fsck_ffs/pass2.c +++ b/sbin/fsck_ffs/pass2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass2.c,v 1.18 2003/08/25 23:28:15 tedu Exp $ */ +/* $OpenBSD: pass2.c,v 1.19 2003/10/11 01:43:45 tedu Exp $ */ /* $NetBSD: pass2.c,v 1.17 1996/09/27 22:45:15 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pass2.c 8.6 (Berkeley) 10/27/94"; #else -static const char rcsid[] = "$OpenBSD: pass2.c,v 1.18 2003/08/25 23:28:15 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: pass2.c,v 1.19 2003/10/11 01:43:45 tedu Exp $"; #endif #endif /* not lint */ @@ -133,7 +133,7 @@ pass2(void) break; default: - errexit("BAD STATE %d FOR ROOT INODE", statemap[ROOTINO]); + errexit("BAD STATE %d FOR ROOT INODE\n", statemap[ROOTINO]); } statemap[ROOTINO] = DFOUND; if (newinofmt) { @@ -494,7 +494,7 @@ again: break; default: - errexit("BAD STATE %d FOR INODE I=%d", + errexit("BAD STATE %d FOR INODE I=%d\n", statemap[dirp->d_ino], dirp->d_ino); } } diff --git a/sbin/fsck_ffs/pass4.c b/sbin/fsck_ffs/pass4.c index 4fac965705d..5fc80780f7a 100644 --- a/sbin/fsck_ffs/pass4.c +++ b/sbin/fsck_ffs/pass4.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass4.c,v 1.9 2003/08/25 23:28:15 tedu Exp $ */ +/* $OpenBSD: pass4.c,v 1.10 2003/10/11 01:43:45 tedu Exp $ */ /* $NetBSD: pass4.c,v 1.11 1996/09/27 22:45:17 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pass4.c 8.1 (Berkeley) 6/5/93"; #else -static const char rcsid[] = "$OpenBSD: pass4.c,v 1.9 2003/08/25 23:28:15 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: pass4.c,v 1.10 2003/10/11 01:43:45 tedu Exp $"; #endif #endif /* not lint */ @@ -114,7 +114,7 @@ pass4(void) break; default: - errexit("BAD STATE %d FOR INODE I=%d", + errexit("BAD STATE %d FOR INODE I=%d\n", statemap[inumber], inumber); } } diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 98745a1fd39..504a0dfcbbb 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass5.c,v 1.16 2003/06/02 20:06:15 millert Exp $ */ +/* $OpenBSD: pass5.c,v 1.17 2003/10/11 01:43:45 tedu Exp $ */ /* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pass5.c 8.6 (Berkeley) 11/30/94"; #else -static const char rcsid[] = "$OpenBSD: pass5.c,v 1.16 2003/06/02 20:06:15 millert Exp $"; +static const char rcsid[] = "$OpenBSD: pass5.c,v 1.17 2003/10/11 01:43:45 tedu Exp $"; #endif #endif /* not lint */ @@ -246,7 +246,7 @@ pass5(void) default: if (j < ROOTINO) break; - errexit("BAD STATE %d FOR INODE I=%ld", + errexit("BAD STATE %d FOR INODE I=%ld\n", statemap[j], j); } } |