Source-Changes-HG archive

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

[src/trunk]: src/dist/pdisk use %ld instead of %d to print long value



details:   https://anonhg.NetBSD.org/src/rev/27715b9bd8de
branches:  trunk
changeset: 536153:27715b9bd8de
user:      dbj <dbj%NetBSD.org@localhost>
date:      Mon Sep 09 13:19:28 2002 +0000

description:
use %ld instead of %d to print long value

diffstat:

 dist/pdisk/dump.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 52f3fb06e9e1 -r 27715b9bd8de dist/pdisk/dump.c
--- a/dist/pdisk/dump.c Mon Sep 09 13:07:36 2002 +0000
+++ b/dist/pdisk/dump.c Mon Sep 09 13:19:28 2002 +0000
@@ -368,7 +368,7 @@
            break;
        }
        if (bzb_slice_get(bp) != 0) {
-           printf(" s%1d %4s", bzb_slice_get(bp)-1, s);
+           printf(" s%1ld %4s", bzb_slice_get(bp)-1, s);
        } else if (j >= 0) {
            printf(" S%1d %4s", j, s);
        } else {



Home | Main Index | Thread Index | Old Index