diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-21 16:38:56 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-21 16:38:56 +0000 |
commit | a8b5a1b7407513fb795e4facf3a843d2b4a5767b (patch) | |
tree | 61314abee87c896f4451db7397c5e56451b79e4c /sbin/badsect/badsect.c | |
parent | b7e718c998a175fbefa2656dc922e97a91527f80 (diff) |
remove trailing newlines from err(3) calls; millert@ and matthieu@ ok.
Diffstat (limited to 'sbin/badsect/badsect.c')
-rw-r--r-- | sbin/badsect/badsect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c index 8e6a55cf434..258b2fe2d6c 100644 --- a/sbin/badsect/badsect.c +++ b/sbin/badsect/badsect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: badsect.c,v 1.14 2004/08/08 19:04:25 deraadt Exp $ */ +/* $OpenBSD: badsect.c,v 1.15 2005/07/21 16:38:54 fgsch Exp $ */ /* $NetBSD: badsect.c,v 1.10 1995/03/18 14:54:28 cgd Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)badsect.c 8.1 (Berkeley) 6/5/93"; #else -static const char rcsid[] = "$OpenBSD: badsect.c,v 1.14 2004/08/08 19:04:25 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: badsect.c,v 1.15 2005/07/21 16:38:54 fgsch Exp $"; #endif #endif /* not lint */ @@ -130,7 +130,7 @@ main(int argc, char *argv[]) strlcpy(&name[len+1], dp->d_name, sizeof name - (len+1)); closedir(dirp); if (dp == NULL) - err(5, "Cannot find dev 0%o corresponding to %s\n", + err(5, "Cannot find dev 0%o corresponding to %s", stbuf.st_rdev, argv[1]); if ((fsi = open(name, 0)) < 0) |