diff options
author | jhb <jhb@FreeBSD.org> | 2007-10-27 13:06:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-10-27 13:06:15 +0000 |
commit | a0d5330ec04330856251aac0b8c9ff9f448fa583 (patch) | |
tree | f37f0b3d1c0c9a244a2b13171e5f2b4ac2c237a1 | |
parent | f96314870d270524e2168acf6a11fad873163c42 (diff) | |
download | FreeBSD-src-a0d5330ec04330856251aac0b8c9ff9f448fa583.zip FreeBSD-src-a0d5330ec04330856251aac0b8c9ff9f448fa583.tar.gz |
Bump up the limit for when to print the resources for a given resource
manager in hex vs decimal to 1000 from 100 so that IRQs are printed in
decimal.
MFC after: 3 days
-rw-r--r-- | usr.sbin/devinfo/devinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/devinfo/devinfo.c b/usr.sbin/devinfo/devinfo.c index 1ae1b33..c32e57b 100644 --- a/usr.sbin/devinfo/devinfo.c +++ b/usr.sbin/devinfo/devinfo.c @@ -65,7 +65,7 @@ print_resource(struct devinfo_res *res) int hexmode; rman = devinfo_handle_to_rman(res->dr_rman); - hexmode = (rman->dm_size > 100) || (rman->dm_size == 0); + hexmode = (rman->dm_size > 1000) || (rman->dm_size == 0); printf(hexmode ? "0x%lx" : "%lu", res->dr_start); if (res->dr_size > 1) printf(hexmode ? "-0x%lx" : "-%lu", |