diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-06-30 15:19:51 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-06-30 15:19:51 +0000 |
| commit | 1a463b86e93c84bc9c86042310eb72e5b734b94f (patch) | |
| tree | 8dc03fe75425551b4a859dad486541ec7bf4e838 /libexec/uucpd | |
| parent | 673796a715f771cf3d4cbd6f02831775aa48fb6c (diff) | |
Notes
Diffstat (limited to 'libexec/uucpd')
| -rw-r--r-- | libexec/uucpd/uucpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index 4975100b1af24..1e6281f9d0b11 100644 --- a/libexec/uucpd/uucpd.c +++ b/libexec/uucpd/uucpd.c @@ -45,7 +45,7 @@ static const char copyright[] = static char sccsid[] = "@(#)uucpd.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: uucpd.c,v 1.14 1997/12/04 07:20:45 charnier Exp $"; #endif /* not lint */ /* @@ -236,7 +236,7 @@ void dologout(void) char line[32]; while ((pid=wait((int *)&status)) > 0) { - sprintf(line, "uucp%ld", pid); + sprintf(line, "uucp%ld", (long)pid); logwtmp(line, "", ""); } } @@ -261,7 +261,7 @@ void dologin(struct passwd *pw, struct sockaddr_in *sin) sizeof (remotehost)); remotehost[sizeof remotehost - 1] = '\0'; /* hack, but must be unique and no tty line */ - sprintf(line, "uucp%ld", getpid()); + sprintf(line, "uucp%ld", (long)getpid()); time(&cur_time); if ((f = open(_PATH_LASTLOG, O_RDWR)) >= 0) { struct lastlog ll; |
