summaryrefslogtreecommitdiffstats
path: root/usr.bin/lam
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 09:14:15 +0000
committerkris <kris@FreeBSD.org>2000-07-10 09:14:15 +0000
commit74a1be3402cdf41e683eb2ad6e6967a9a09269fd (patch)
tree6194aa20dae4554ce49c6f047f381a9a927655f7 /usr.bin/lam
parentd84b4d3f4d875bdc29e1af239bfea2dadaff8f85 (diff)
downloadFreeBSD-src-74a1be3402cdf41e683eb2ad6e6967a9a09269fd.zip
FreeBSD-src-74a1be3402cdf41e683eb2ad6e6967a9a09269fd.tar.gz
Don't call err() with no format string.
Diffstat (limited to 'usr.bin/lam')
-rw-r--r--usr.bin/lam/lam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/lam/lam.c b/usr.bin/lam/lam.c
index 2770810..e65df36 100644
--- a/usr.bin/lam/lam.c
+++ b/usr.bin/lam/lam.c
@@ -118,7 +118,7 @@ getargs(av)
if (*p == '-')
ip->fp = stdin;
else if ((ip->fp = fopen(p, "r")) == NULL) {
- err(1, p);
+ err(1, "%s", p);
}
ip->pad = P;
if (!ip->sepstring)
OpenPOWER on IntegriCloud