Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/adosfs fix a printf arg.



details:   https://anonhg.NetBSD.org/src/rev/be240af1c18d
branches:  trunk
changeset: 583681:be240af1c18d
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Aug 19 04:15:02 2005 +0000

description:
fix a printf arg.

diffstat:

 sys/fs/adosfs/advfsops.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 2f4cf3532ca3 -r be240af1c18d sys/fs/adosfs/advfsops.c
--- a/sys/fs/adosfs/advfsops.c  Fri Aug 19 02:07:18 2005 +0000
+++ b/sys/fs/adosfs/advfsops.c  Fri Aug 19 04:15:02 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: advfsops.c,v 1.23 2005/06/28 09:30:37 yamt Exp $       */
+/*     $NetBSD: advfsops.c,v 1.24 2005/08/19 04:15:02 christos Exp $   */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.23 2005/06/28 09:30:37 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: advfsops.c,v 1.24 2005/08/19 04:15:02 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -499,7 +499,8 @@
        namlen = *(u_char *)nam++;
        if (namlen > 30) {
 #ifdef DIAGNOSTIC
-               printf("adosfs: aget: name length too long blk %d\n", an);
+               printf("adosfs: aget: name length too long blk %llu\n",
+                   (unsigned long long)an);
 #endif
                brelse(bp);
                vput(vp);



Home | Main Index | Thread Index | Old Index