Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/am-utils/dist/amd fix printf format



details:   https://anonhg.NetBSD.org/src/rev/65686f5de73e
branches:  trunk
changeset: 805773:65686f5de73e
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 18 15:54:38 2015 +0000

description:
fix printf format

diffstat:

 external/bsd/am-utils/dist/amd/nfs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 9a9150e1a212 -r 65686f5de73e external/bsd/am-utils/dist/amd/nfs_subr.c
--- a/external/bsd/am-utils/dist/amd/nfs_subr.c Sun Jan 18 15:37:57 2015 +0000
+++ b/external/bsd/am-utils/dist/amd/nfs_subr.c Sun Jan 18 15:54:38 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_subr.c,v 1.1.1.3 2015/01/17 16:34:15 christos Exp $        */
+/*     $NetBSD: nfs_subr.c,v 1.2 2015/01/18 15:54:38 christos Exp $    */
 
 /*
  * Copyright (c) 1997-2014 Erez Zadok
@@ -1106,9 +1106,9 @@
   result.status = AM_NFS3_OK;
 
   if (amuDebug(D_TRACE))
-    plog(XLOG_DEBUG, "\tstat(%s), size = %lu, mtime=%d.%d",
+    plog(XLOG_DEBUG, "\tstat(%s), size = %llu, mtime=%d.%d",
         mp->am_path,
-        (am_size3) fattr3->size,
+        (unsigned long long) fattr3->size,
         (u_int) fattr3->mtime.seconds,
         (u_int) fattr3->mtime.nseconds);
 



Home | Main Index | Thread Index | Old Index