aboutsummaryrefslogtreecommitdiff
path: root/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-18 18:49:50 +0000
committerrsc <devnull@localhost>2005-03-18 18:49:50 +0000
commit029e5020e2d2dd9254418183159333a6cfe4c69c (patch)
tree63a1f108dcd8e078eefaf4d1f2b41eb57b2ed1a8 /acid
parent6b6159b3a7745bae7fb9d8672cab8bbd9713ad3c (diff)
downloadplan9port-029e5020e2d2dd9254418183159333a6cfe4c69c.tar.gz
plan9port-029e5020e2d2dd9254418183159333a6cfe4c69c.tar.bz2
plan9port-029e5020e2d2dd9254418183159333a6cfe4c69c.zip
use %#
Diffstat (limited to 'acid')
-rw-r--r--acid/port6
1 files changed, 3 insertions, 3 deletions
diff --git a/acid/port b/acid/port
index 9759873e..9cd2f760 100644
--- a/acid/port
+++ b/acid/port
@@ -37,7 +37,7 @@ defn params(param)
{
while param do {
sym = head param;
- print(sym[0], "=", itoa(sym[1], "%ux"));
+ print(sym[0], "=", itoa(sym[1], "%#ux"));
param = tail param;
if param then
print (",");
@@ -54,7 +54,7 @@ defn locals(l)
while l do {
sym = head l;
- print(stkprefix, "\t", sym[0], "=", itoa(sym[1], "%ux"), "\n");
+ print(stkprefix, "\t", sym[0], "=", itoa(sym[1], "%#ux"), "\n");
l = tail l;
}
}
@@ -102,7 +102,7 @@ defn _stk(regs, dolocals)
params(paramlist);
print(")");
if pc != fn then
- print("+", itoa(pc-fn, "%ux"));
+ print("+", itoa(pc-fn, "%#ux"));
print(" ");
pfl(pc);
if dolocals then