diff options
| author | mrg <mrg@NetBSD.org> | 1997-10-07 13:13:41 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 1997-10-07 13:13:41 +0000 |
| commit | cd359aa2a07e6591020b7b7bd7eb796efa5f6222 (patch) | |
| tree | 167b561a6cd3d729e404e8bc39c3944ca02354dc /libexec | |
| parent | 08a6736e8b432ff77aa113a10c238342e4c6175f (diff) | |
fix warnings on alpha.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/mail.local/mail.local.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/mail.local/mail.local.c b/libexec/mail.local/mail.local.c index 8d07b85d88a..afed788d56a 100644 --- a/libexec/mail.local/mail.local.c +++ b/libexec/mail.local/mail.local.c @@ -1,4 +1,4 @@ -/* $NetBSD: mail.local.c,v 1.11 1997/10/07 13:07:45 mrg Exp $ */ +/* $NetBSD: mail.local.c,v 1.12 1997/10/07 13:13:41 mrg Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\n\ #if 0 static char sccsid[] = "@(#)mail.local.c 8.22 (Berkeley) 6/21/95"; #else -__RCSID("$NetBSD: mail.local.c,v 1.11 1997/10/07 13:07:45 mrg Exp $"); +__RCSID("$NetBSD: mail.local.c,v 1.12 1997/10/07 13:13:41 mrg Exp $"); #endif #endif /* not lint */ @@ -221,7 +221,8 @@ deliver(fd, name, lockfile) } curoff = lseek(mbfd, 0, SEEK_END); - (void)snprintf(biffmsg, sizeof biffmsg, "%s@%qd\n", name, curoff); + (void)snprintf(biffmsg, sizeof biffmsg, "%s@%qd\n", name, + (long long)curoff); if (lseek(fd, 0, SEEK_SET) == (off_t)-1) { err(FATAL, "temporary file: %s", strerror(errno)); rval = 1; |
