summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-04 14:21:35 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-04 14:21:35 +0000
commit6915fc688854dec50e7717cc0db77d9ae49dc1e4 (patch)
tree63beecbbb06b48bfe36a6c07cc22132b7781027a
parent18645061397746019dfe96d4a76ffdf5fc144b4b (diff)
warnx already prepends string with a colon, no need to manually add one
here. ok millert, otto
-rw-r--r--sbin/newfs/newfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c
index 08781c4009f..27a9634c7d5 100644
--- a/sbin/newfs/newfs.c
+++ b/sbin/newfs/newfs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newfs.c,v 1.75 2008/01/29 13:02:31 krw Exp $ */
+/* $OpenBSD: newfs.c,v 1.76 2008/06/04 14:21:34 tobias Exp $ */
/* $NetBSD: newfs.c,v 1.20 1996/05/16 07:13:03 thorpej Exp $ */
/*
@@ -400,7 +400,7 @@ main(int argc, char *argv[])
if (fstat(fsi, &st) < 0)
fatal("%s: %s", special, strerror(errno));
if (!S_ISCHR(st.st_mode) && !mfs)
- warnx(": %s: not a character-special device\n",
+ warnx("%s: not a character-special device\n",
special);
cp = strchr(argv[0], '\0') - 1;
if (cp == NULL || ((*cp < 'a' || *cp > ('a' + maxpartitions - 1))