summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1996-01-31 15:21:56 +0000
committerwpaul <wpaul@FreeBSD.org>1996-01-31 15:21:56 +0000
commitf9c3de604cd30fa0e6abe022526d303662a8e8cb (patch)
treee7eb6b7ccc761690ad1b8d4c75e8d7169c70a7d8 /usr.sbin
parenta683c772417b7b57b2c047d5f633d5e5b6975607 (diff)
downloadFreeBSD-src-f9c3de604cd30fa0e6abe022526d303662a8e8cb.zip
FreeBSD-src-f9c3de604cd30fa0e6abe022526d303662a8e8cb.tar.gz
Found an instance of yp_error() in yp_maplist_create() that had two %s
tokens but only one argument; fixed by putting in missing argument.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypserv/yp_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/yp_server.c b/usr.sbin/ypserv/yp_server.c
index 9631dc5..3ac7e2e 100644
--- a/usr.sbin/ypserv/yp_server.c
+++ b/usr.sbin/ypserv/yp_server.c
@@ -45,7 +45,7 @@
#include <rpc/rpc.h>
#ifndef lint
-static char rcsid[] = "$Id: yp_server.c,v 1.2 1995/12/23 21:35:35 wpaul Exp $";
+static char rcsid[] = "$Id: yp_server.c,v 1.3 1996/01/10 16:07:39 wpaul Exp $";
#endif /* not lint */
int forked = 0;
@@ -622,7 +622,7 @@ static struct ypmaplist *yp_maplist_create(domain)
snprintf(yp_mapdir, sizeof(yp_mapdir), "%s/%s", yp_dir, domain);
if ((dird = opendir(yp_mapdir)) == NULL) {
- yp_error("opendir(%s) failed: %s", strerror(errno));
+ yp_error("opendir(%s) failed: %s", yp_mapdir, strerror(errno));
return(NULL);
}
OpenPOWER on IntegriCloud