summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMike Frysinger2009-03-28 12:43:53 +0000
committerMike Frysinger2009-03-28 12:43:53 +0000
commitd006edb2ca90c748d778699bbaf6954473ab7348 (patch)
treecca593b82af55d1873a9585388e34f3029244630 /shell
parentec2c6557025f55098ce2daa2e6f6c7aa2630c00e (diff)
downloadbusybox-d006edb2ca90c748d778699bbaf6954473ab7348.zip
busybox-d006edb2ca90c748d778699bbaf6954473ab7348.tar.gz
tweak format modifier in debug code to fixup gcc warning
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 275d618..67e689f 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1322,7 +1322,7 @@ static void debug_print_list(const char *prefix, o_string *o, int n)
}
if (n) {
const char *p = o->data + (int)list[n - 1] + string_start;
- fprintf(stderr, " total_sz:%d\n", (p + strlen(p) + 1) - o->data);
+ fprintf(stderr, " total_sz:%ld\n", (p + strlen(p) + 1) - o->data);
}
}
#else