diff options
author | 2012-03-24 20:19:05 +0000 | |
---|---|---|
committer | 2012-03-24 20:19:05 +0000 | |
commit | 1ebbe7c1a8cc68ec8362d9e2ca4860d277bf852d (patch) | |
tree | 4cc997d6d1b1386b715e88464e410050353669c5 | |
parent | Oops, forgot this file in the SGI_<model> -> SGI_IP## change. (diff) | |
download | wireguard-openbsd-1ebbe7c1a8cc68ec8362d9e2ca4860d277bf852d.tar.xz wireguard-openbsd-1ebbe7c1a8cc68ec8362d9e2ca4860d277bf852d.zip |
Left-pad the eeprom dump with zeroes in the debug dump to make it easier to
read (this code is not compiled unless option AHC_DUMP_EEPROM anyway)
-rw-r--r-- | sys/dev/ic/smc93cx6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/smc93cx6.c b/sys/dev/ic/smc93cx6.c index 026eb0c5b0d..0a4a3fe5623 100644 --- a/sys/dev/ic/smc93cx6.c +++ b/sys/dev/ic/smc93cx6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc93cx6.c,v 1.17 2003/09/25 06:43:34 fgsch Exp $ */ +/* $OpenBSD: smc93cx6.c,v 1.18 2012/03/24 20:19:05 miod Exp $ */ /* $NetBSD: smc93cx6.c,v 1.10 2003/05/02 19:12:19 dyoung Exp $ */ /* @@ -173,7 +173,7 @@ read_seeprom(sd, buf, start_addr, count) if (((k % 8) == 0) && (k != 0)) { printf ("\n\t"); } - printf (" 0x%x", buf[k]); + printf (" 0x%04x", buf[k]); } printf ("\n"); #endif |