diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-06 02:47:00 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-06 02:47:00 +0000 |
commit | 8e04df6d18059de21c91270ddc9ad6d904cffea4 (patch) | |
tree | 60ebc90177a4171cf037943ee0cd3cf5f774b0a4 /usr.sbin/rtsold/dump.c | |
parent | 37567b7c3cb65f88a9ffbeee7e3ab97241fd2b4c (diff) |
printf string format audit. from: sommerfeld@netbsd.org
Diffstat (limited to 'usr.sbin/rtsold/dump.c')
-rw-r--r-- | usr.sbin/rtsold/dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rtsold/dump.c b/usr.sbin/rtsold/dump.c index 5df4ecd32be..ddbb0ec441a 100644 --- a/usr.sbin/rtsold/dump.c +++ b/usr.sbin/rtsold/dump.c @@ -1,5 +1,5 @@ -/* $OpenBSD: dump.c,v 1.4 2000/08/13 18:24:00 itojun Exp $ */ -/* $KAME: dump.c,v 1.7 2000/08/13 06:14:59 itojun Exp $ */ +/* $OpenBSD: dump.c,v 1.5 2000/10/06 02:46:58 itojun Exp $ */ +/* $KAME: dump.c,v 1.8 2000/10/05 22:20:39 itojun Exp $ */ /* * Copyright (C) 1999 WIDE Project. @@ -99,7 +99,7 @@ rtsold_dump_file(dumpfile) char *dumpfile; { if ((fp = fopen(dumpfile, "w")) == NULL) { - warnmsg(LOG_WARNING, __FUNCTION__, "open a dump file(%s)", + warnmsg(LOG_WARNING, __FUNCTION__, "open a dump file(%s): %s", dumpfile, strerror(errno)); return; } |