Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ffs Fixed a printf argument type.



details:   https://anonhg.NetBSD.org/src/rev/a5ee71383195
branches:  trunk
changeset: 533655:a5ee71383195
user:      fredette <fredette%NetBSD.org@localhost>
date:      Sat Jul 06 15:39:07 2002 +0000

description:
Fixed a printf argument type.

diffstat:

 sys/ufs/ffs/ffs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6b17eb1f0310 -r a5ee71383195 sys/ufs/ffs/ffs_subr.c
--- a/sys/ufs/ffs/ffs_subr.c    Sat Jul 06 13:20:08 2002 +0000
+++ b/sys/ufs/ffs/ffs_subr.c    Sat Jul 06 15:39:07 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_subr.c,v 1.22 2002/04/10 08:05:13 mycroft Exp $    */
+/*     $NetBSD: ffs_subr.c,v 1.23 2002/07/06 15:39:07 fredette Exp $   */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__KERNEL_RCSID)
-__KERNEL_RCSID(0, "$NetBSD: ffs_subr.c,v 1.22 2002/04/10 08:05:13 mycroft Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_subr.c,v 1.23 2002/07/06 15:39:07 fredette Exp $");
 #endif
 
 #if HAVE_CONFIG_H
@@ -174,7 +174,7 @@
                vprint("Disk overlap", vp);
                printf("\tstart %d, end %d overlap start %d, end %ld\n",
                    start, last, ep->b_blkno,
-                   ep->b_blkno + btodb(ep->b_bcount) - 1);
+                   (long) ep->b_blkno + btodb(ep->b_bcount) - 1);
                panic("Disk buffer overlap");
        }
 }



Home | Main Index | Thread Index | Old Index