summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-02 16:44:18 +0000
committerbde <bde@FreeBSD.org>1998-08-02 16:44:18 +0000
commit1d56e79a13576df16cca10607ab99daa27920cd2 (patch)
tree53b665909757443d870d49508bde422b81c4713b /libexec/ypxfr
parentb7b0859c3f4470d1bd2770f26c5af6f037833993 (diff)
downloadFreeBSD-src-1d56e79a13576df16cca10607ab99daa27920cd2.zip
FreeBSD-src-1d56e79a13576df16cca10607ab99daa27920cd2.tar.gz
Fixed printf format errors.
Diffstat (limited to 'libexec/ypxfr')
-rw-r--r--libexec/ypxfr/ypxfr_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ypxfr/ypxfr_main.c b/libexec/ypxfr/ypxfr_main.c
index b40d5a0..d2a9f85 100644
--- a/libexec/ypxfr/ypxfr_main.c
+++ b/libexec/ypxfr/ypxfr_main.c
@@ -32,7 +32,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id$";
+ "$Id: ypxfr_main.c,v 1.11 1997/12/08 07:49:54 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@@ -441,7 +441,7 @@ the local domain name isn't set");
* master name, input file name (we actually make up a bogus
* name for that) and output file name.
*/
- snprintf(buf, sizeof(buf), "%d", ypxfr_order);
+ snprintf(buf, sizeof(buf), "%lu", ypxfr_order);
data.data = buf;
data.size = strlen(buf);
OpenPOWER on IntegriCloud