diff options
author | jdp <jdp@FreeBSD.org> | 1997-11-18 03:41:51 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-11-18 03:41:51 +0000 |
commit | 7e0fa23aa5155d4e4bae37b268483e4cd3267106 (patch) | |
tree | 747946dfd3cbfd2c76111622dbcba33c4f810e9a /usr.sbin/config | |
parent | 8a7bf8aff18b3c6495bad5c4937a80b55f807281 (diff) | |
download | FreeBSD-src-7e0fa23aa5155d4e4bae37b268483e4cd3267106.zip FreeBSD-src-7e0fa23aa5155d4e4bae37b268483e4cd3267106.tar.gz |
Fix incorrect format string detected by "-Wformat".
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index 06aa355..5e2828e 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: main.c,v 1.18 1997/09/15 06:37:08 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -422,7 +422,7 @@ moveifchanged(const char *from_name, const char *to_name) err(EX_OSERR, "rename(%s, %s)", from_name, to_name); } else { if (unlink(from_name) < 0) - err(EX_OSERR, "unlink(%s, %s)", from_name); + err(EX_OSERR, "unlink(%s)", from_name); } #ifdef DIAG |