summaryrefslogtreecommitdiff
path: root/sbin/tunefs/tunefs.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-12 22:22:33 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-02-12 22:22:33 +0000
commit8927fbdec13d9964e3bcbffcbc8b3fe07357969e (patch)
treeba463a27d4c6faa299b3cd483cee890f8f26beda /sbin/tunefs/tunefs.c
parentf6ed064a9bee8e4356ff061937c2b720af5f2c4d (diff)
_PATH_DEV already includes the trailing '/'; no need for it.
Diffstat (limited to 'sbin/tunefs/tunefs.c')
-rw-r--r--sbin/tunefs/tunefs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index f73aed3f6a2..837db967fc6 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tunefs.c,v 1.16 2001/12/04 07:23:58 mickey Exp $ */
+/* $OpenBSD: tunefs.c,v 1.17 2002/02/12 22:22:32 fgsch Exp $ */
/* $NetBSD: tunefs.c,v 1.10 1995/03/18 15:01:31 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tunefs.c 8.2 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: tunefs.c,v 1.16 2001/12/04 07:23:58 mickey Exp $";
+static char rcsid[] = "$OpenBSD: tunefs.c,v 1.17 2002/02/12 22:22:32 fgsch Exp $";
#endif
#endif /* not lint */
@@ -109,7 +109,7 @@ again:
if (*special != '/') {
if (*special == 'r')
special++;
- (void)snprintf(device, sizeof(device), "%s/%s",
+ (void)snprintf(device, sizeof(device), "%s%s",
_PATH_DEV, special);
special = device;
goto again;