diff options
author | kris <kris@FreeBSD.org> | 2000-07-10 08:22:21 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-07-10 08:22:21 +0000 |
commit | b6f7c1eb1aec6daa60664d01c16463b6325781e3 (patch) | |
tree | acd5eab706bc7445a3f4e1fd1613d29eb05b0351 /sbin | |
parent | d466979158bb6a39ebec00f4b051390b83db80f1 (diff) | |
download | FreeBSD-src-b6f7c1eb1aec6daa60664d01c16463b6325781e3.zip FreeBSD-src-b6f7c1eb1aec6daa60664d01c16463b6325781e3.tar.gz |
Don't call sprintf() with no format string.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipfw/ipfw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c index 47a7289..4507cb6 100644 --- a/sbin/ipfw/ipfw.c +++ b/sbin/ipfw/ipfw.c @@ -654,7 +654,7 @@ list(ac, av) if (rulenum != 0 && rulenum != p->pipe_nr) continue; if (p->if_name[0] != '\0') - sprintf(buf, p->if_name); + sprintf(buf, "%s", p->if_name); else if (b == 0) sprintf(buf, "unlimited"); else if (b >= 1000000) |