diff options
author | bde <bde@FreeBSD.org> | 1998-08-02 16:44:18 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-02 16:44:18 +0000 |
commit | 1d56e79a13576df16cca10607ab99daa27920cd2 (patch) | |
tree | 53b665909757443d870d49508bde422b81c4713b /libexec | |
parent | b7b0859c3f4470d1bd2770f26c5af6f037833993 (diff) | |
download | FreeBSD-src-1d56e79a13576df16cca10607ab99daa27920cd2.zip FreeBSD-src-1d56e79a13576df16cca10607ab99daa27920cd2.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/atrun/atrun.c | 10 | ||||
-rw-r--r-- | libexec/talkd/print.c | 4 | ||||
-rw-r--r-- | libexec/ypxfr/ypxfr_main.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/libexec/atrun/atrun.c b/libexec/atrun/atrun.c index 45c40ff..d8e3a86 100644 --- a/libexec/atrun/atrun.c +++ b/libexec/atrun/atrun.c @@ -25,7 +25,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: atrun.c,v 1.12 1997/11/20 07:21:50 charnier Exp $"; #endif /* not lint */ /* System Headers */ @@ -221,13 +221,13 @@ run_file(const char *filename, uid_t uid, gid_t gid) } mailname = mailbuf; if (nuid != uid) { - syslog(LOG_ERR,"Job %s - userid %d does not match file uid %d", - filename, nuid, uid); + syslog(LOG_ERR,"Job %s - userid %ld does not match file uid %lu", + filename, nuid, (unsigned long)uid); exit(EXIT_FAILURE); } if (ngid != gid) { - syslog(LOG_ERR,"Job %s - groupid %d does not match file gid %d", - filename, ngid, gid); + syslog(LOG_ERR,"Job %s - groupid %ld does not match file gid %lu", + filename, ngid, (unsigned long)gid); exit(EXIT_FAILURE); } fclose(stream); diff --git a/libexec/talkd/print.c b/libexec/talkd/print.c index a862dbc..fffdf9c 100644 --- a/libexec/talkd/print.c +++ b/libexec/talkd/print.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: print.c,v 1.6 1997/12/02 12:33:17 charnier Exp $"; + "$Id: print.c,v 1.7 1997/12/24 19:39:57 imp Exp $"; #endif /* not lint */ /* debug print routines */ @@ -67,7 +67,7 @@ print_request(cp, mp) tp = tbuf; } else tp = types[mp->type]; - syslog(LOG_DEBUG, "%s: %s: id %d, l_user %s, r_user %s, r_tty %s", + syslog(LOG_DEBUG, "%s: %s: id %lu, l_user %s, r_user %s, r_tty %s", cp, tp, mp->id_num, mp->l_name, mp->r_name, mp->r_tty); } 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); |