summaryrefslogtreecommitdiffstats
path: root/usr.sbin
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
parentdbc09be291ed507f26f3b2f3fbad6b02ef6bf476 (diff)
downloadFreeBSD-src-b7b0859c3f4470d1bd2770f26c5af6f037833993.zip
FreeBSD-src-b7b0859c3f4470d1bd2770f26c5af6f037833993.tar.gz
Fixed printf format errors.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mount_portalfs/conf.c4
-rw-r--r--usr.sbin/mountd/mountd.c4
2 files changed, 4 insertions, 4 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;
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index abe5476..fe556db 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: mountd.c,v 1.32 1998/07/15 06:21:40 charnier Exp $";
#endif /*not lint*/
#include <sys/param.h>
@@ -492,7 +492,7 @@ mntsrv(rqstp, transp)
else if (log)
syslog(LOG_NOTICE,
"dump request succeeded from %s",
- inet_ntoa(saddrin), dirpath);
+ inet_ntoa(saddrin));
return;
case RPCMNT_UMOUNT:
if (sport >= IPPORT_RESERVED && resvport_only) {
OpenPOWER on IntegriCloud