Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/lfs_cleanerd make this build on alpha after daddr_t-...
details: https://anonhg.NetBSD.org/src/rev/1f8cd3bc6624
branches: trunk
changeset: 542417:1f8cd3bc6624
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jan 28 08:34:17 2003 +0000
description:
make this build on alpha after daddr_t->64bit
diffstat:
libexec/lfs_cleanerd/cleanerd.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r b1113d626311 -r 1f8cd3bc6624 libexec/lfs_cleanerd/cleanerd.c
--- a/libexec/lfs_cleanerd/cleanerd.c Tue Jan 28 08:22:08 2003 +0000
+++ b/libexec/lfs_cleanerd/cleanerd.c Tue Jan 28 08:34:17 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cleanerd.c,v 1.41 2003/01/24 21:55:04 fvdl Exp $ */
+/* $NetBSD: cleanerd.c,v 1.42 2003/01/28 08:34:17 mrg Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)cleanerd.c 8.5 (Berkeley) 6/10/95";
#else
-__RCSID("$NetBSD: cleanerd.c,v 1.41 2003/01/24 21:55:04 fvdl Exp $");
+__RCSID("$NetBSD: cleanerd.c,v 1.42 2003/01/28 08:34:17 mrg Exp $");
#endif
#endif /* not lint */
@@ -754,7 +754,8 @@
tba[i].bi_inode,
tba[i].bi_lbn,
tba[i].bi_daddr,
- seg_addr + btofsb(lfsp, (char *)(tba[i].bi_bp) - seg_buf));
+ (long long)(seg_addr +
+ btofsb(lfsp, (char *)(tba[i].bi_bp) - seg_buf)));
error = EFAULT;
goto out;
Home |
Main Index |
Thread Index |
Old Index