aboutsummaryrefslogtreecommitdiff
path: root/libexec/atrun
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-08-02 16:44:18 +0000
committerBruce Evans <bde@FreeBSD.org>1998-08-02 16:44:18 +0000
commitbb6ae0a4a9ffb90a23f993da06e352d1af559243 (patch)
tree83972df2f0060e2aeee7f440335142438e8e0906 /libexec/atrun
parentab845347721a9262f65cfc86c69d0b4ff0433ec6 (diff)
Notes
Diffstat (limited to 'libexec/atrun')
-rw-r--r--libexec/atrun/atrun.c10
1 files changed, 5 insertions, 5 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);