diff options
author | kris <kris@FreeBSD.org> | 2000-10-06 23:46:52 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-10-06 23:46:52 +0000 |
commit | 44c3d480b472d6936e2fdf0b16c99e14a757266b (patch) | |
tree | df9371dfa492543ed50950c7db8e28f45326e5bc /usr.sbin/rtsold/dump.c | |
parent | a5984fa40eeb4f40d06d1f1266a995af112d7ee5 (diff) | |
download | FreeBSD-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.c | 4 |
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; } |