diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-04 21:20:33 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-02-04 21:20:33 +0000 |
commit | e00fe47e1a264dc333fbefb8f0283d86b040d56a (patch) | |
tree | 2bf5f970d4f3aab8f7e644b2d197c1d495df89d7 /sys/arch | |
parent | 6e58b16e395d7bbdff993848d025bf8d74f7d741 (diff) |
a couple of extraneous args for printf; from netbsd
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/db_disasm.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/db_disasm.c b/sys/arch/hppa/hppa/db_disasm.c index d78906a3327..f95c01f6879 100644 --- a/sys/arch/hppa/hppa/db_disasm.c +++ b/sys/arch/hppa/hppa/db_disasm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_disasm.c,v 1.9 2000/04/18 20:02:45 mickey Exp $ */ +/* $OpenBSD: db_disasm.c,v 1.10 2002/02/04 21:20:32 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -1761,8 +1761,7 @@ beDasm(i, ofs, w) s[0] = '\0'; p = Nu(w)? ",n":""; - db_printf("%s\tR'%s%X(%%sr%d,%%r%d)", p, (d < 2048? "R'":""), - s, d, Sr(w), Rsb(w)); + db_printf("%s\tR'%s%X(%%sr%d,%%r%d)", p, s, d, Sr(w), Rsb(w)); return (1); } @@ -2316,7 +2315,7 @@ fmpyaddDasm(i, ofs, w) if (Rsd(w) == 0) db_printf("\t%%fcfxt,%s,%%f%s,%%f%s,%%f%s", - ((SinglePrec(w)) ? "sgl" : "dbl"), ms1, ms2, mt, ad); + ((SinglePrec(w)) ? "sgl" : "dbl"), ms1, ms2, mt); else db_printf("add%s\t%%f%s,%%f%s,%%f%s,%%f%s,%%f%s", ((SinglePrec(w)) ? "sgl" : "dbl"), ms1, ms2, mt, as, ad); |