diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-06-22 23:45:05 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-06-22 23:45:05 +0000 |
commit | dfe1653ec35c7c23745010bd7fc4d43144aad640 (patch) | |
tree | 5dd2de5c6cd48c01d70352e62231434c87e5de45 | |
parent | 9b104bc692f74de7bae213e47ba30d37309a22ea (diff) |
sprintf unknown device's id numbers in hex
-rw-r--r-- | sys/arch/hppa/hppa/autoconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/autoconf.c b/sys/arch/hppa/hppa/autoconf.c index 2bbb8c1acd0..059ed92fd22 100644 --- a/sys/arch/hppa/hppa/autoconf.c +++ b/sys/arch/hppa/hppa/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.3 1999/04/20 20:37:10 mickey Exp $ */ +/* $OpenBSD: autoconf.c,v 1.4 1999/06/22 23:45:04 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -354,7 +354,7 @@ hppa_mod_info(type, sv) (mi->mi_type != type || mi->mi_sv != sv); mi++); if (mi->mi_type < 0) { - sprintf(fakeid, "type %d, sv %d", type, sv); + sprintf(fakeid, "type %x, sv %x", type, sv); return fakeid; } else return mi->mi_name; |