summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold/dump.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-10-06 23:46:52 +0000
committerkris <kris@FreeBSD.org>2000-10-06 23:46:52 +0000
commit44c3d480b472d6936e2fdf0b16c99e14a757266b (patch)
treedf9371dfa492543ed50950c7db8e28f45326e5bc /usr.sbin/rtsold/dump.c
parenta5984fa40eeb4f40d06d1f1266a995af112d7ee5 (diff)
downloadFreeBSD-src-44c3d480b472d6936e2fdf0b16c99e14a757266b.zip
FreeBSD-src-44c3d480b472d6936e2fdf0b16c99e14a757266b.tar.gz
Sync with KAME. Format string auditing, and add -a flag to autoprobe
interfaces. Obtained from: KAME
Diffstat (limited to 'usr.sbin/rtsold/dump.c')
-rw-r--r--usr.sbin/rtsold/dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/rtsold/dump.c b/usr.sbin/rtsold/dump.c
index 43badd5..ce55ddd 100644
--- a/usr.sbin/rtsold/dump.c
+++ b/usr.sbin/rtsold/dump.c
@@ -1,3 +1,5 @@
+/* $KAME: dump.c,v 1.7 2000/08/13 06:14:59 itojun Exp $ */
+
/*
* Copyright (C) 1999 WIDE Project.
* All rights reserved.
@@ -98,7 +100,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;
}
OpenPOWER on IntegriCloud