diff options
Diffstat (limited to 'src/liblink/list9.c')
-rw-r--r-- | src/liblink/list9.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/liblink/list9.c b/src/liblink/list9.c index 3299d269a..9700a1684 100644 --- a/src/liblink/list9.c +++ b/src/liblink/list9.c @@ -345,7 +345,10 @@ Rconv(Fmt *fp) int r; r = va_arg(fp->args, int); - sprint(str, "r%d", r); + if(r < NREG) + sprint(str, "r%d", r); + else + sprint(str, "f%d", r-NREG); return fmtstrcpy(fp, str); } |