Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsck_lfs Use intmax_t to print daddr_t; from sevan@.



details:   https://anonhg.NetBSD.org/src/rev/f8421dbe1d46
branches:  trunk
changeset: 339680:f8421dbe1d46
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Aug 03 04:16:10 2015 +0000

description:
Use intmax_t to print daddr_t; from sevan@.

diffstat:

 sbin/fsck_lfs/pass5.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r b54572a47f1e -r f8421dbe1d46 sbin/fsck_lfs/pass5.c
--- a/sbin/fsck_lfs/pass5.c     Mon Aug 03 00:44:52 2015 +0000
+++ b/sbin/fsck_lfs/pass5.c     Mon Aug 03 04:16:10 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pass5.c,v 1.34 2015/08/02 18:14:16 dholland Exp $   */
+/* $NetBSD: pass5.c,v 1.35 2015/08/03 04:16:10 dholland Exp $   */
 
 /*-
  * Copyright (c) 2000, 2003 The NetBSD Foundation, Inc.
@@ -152,8 +152,8 @@
                }
        }
        if (avail != lfs_sb_getavail(fs)) {
-               pwarn("AVAIL GIVEN AS %jd, SHOULD BE %ld\n",
-                     (intmax_t)lfs_sb_getavail(fs), avail);
+               pwarn("AVAIL GIVEN AS %jd, SHOULD BE %jd\n",
+                     (intmax_t)lfs_sb_getavail(fs), (intmax_t)avail);
                if (preen || reply("FIX")) {
                        lfs_sb_setavail(fs, avail);
                        sbdirty();



Home | Main Index | Thread Index | Old Index