Values are more useful shown in hex.
authorDavid Given <dg@cowlark.com>
Tue, 11 Sep 2018 21:17:09 +0000 (23:17 +0200)
committerDavid Given <dg@cowlark.com>
Tue, 11 Sep 2018 21:17:09 +0000 (23:17 +0200)
util/led/main.c

index 36950db..0caf2d7 100644 (file)
@@ -579,7 +579,7 @@ addbase(name)
                return;
 
        name->on_valu += outsect[sectindex].os_base;
-       debug(  "%s: type 0x%x, value %ld\n",
+       debug(  "%s: type 0x%x, value 0x%lx\n",
                address((name->on_type & S_EXT) ? ALLOGCHR : ALLOLCHR,
                        (ind_t)name->on_foff
                ),