summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mount_portalfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-02 16:06:35 +0000
committerbde <bde@FreeBSD.org>1998-08-02 16:06:35 +0000
commitb7b0859c3f4470d1bd2770f26c5af6f037833993 (patch)
treef19b09078f6555282c806798e61ed7b7b564fa2c /usr.sbin/mount_portalfs
parentdbc09be291ed507f26f3b2f3fbad6b02ef6bf476 (diff)
downloadFreeBSD-src-b7b0859c3f4470d1bd2770f26c5af6f037833993.zip
FreeBSD-src-b7b0859c3f4470d1bd2770f26c5af6f037833993.tar.gz
Fixed printf format errors.
Diffstat (limited to 'usr.sbin/mount_portalfs')
-rw-r--r--usr.sbin/mount_portalfs/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mount_portalfs/conf.c b/usr.sbin/mount_portalfs/conf.c
index 3b0d965..373e62d 100644
--- a/usr.sbin/mount_portalfs/conf.c
+++ b/usr.sbin/mount_portalfs/conf.c
@@ -39,7 +39,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: conf.c,v 1.6 1998/07/06 07:19:24 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@@ -206,7 +206,7 @@ int lno;
if (val) {
char errbuf[_POSIX2_LINE_MAX];
regerror(val, &p->p_rx, errbuf, sizeof errbuf);
- syslog(LOG_ERR, "%s:%s: regcomp %s: %s",
+ syslog(LOG_ERR, "%s:%d: regcomp %s: %s",
conf_file, curp->p_lno, curp->p_key, errbuf);
regfree(&p->p_rx);
p->p_rxvalid = 0;
OpenPOWER on IntegriCloud