aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/atrun/atrun.c10
-rw-r--r--libexec/talkd/print.c4
-rw-r--r--libexec/ypxfr/ypxfr_main.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/libexec/atrun/atrun.c b/libexec/atrun/atrun.c
index 45c40ff7d5dc9..d8e3a862088c2 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 a862dbc1cadb9..fffdf9c4dd309 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 b40d5a0b8c02e..d2a9f85da5f90 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);