diff options
author | bde <bde@FreeBSD.org> | 1998-08-10 14:27:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-10 14:27:34 +0000 |
commit | 5f83b9b480944421611a7688dc43b090b48d6951 (patch) | |
tree | 6913131568125ddbb5166c46f3d52902607605c6 /sys/dev/ie | |
parent | 0e700d0611e1dc6fa1f19261cb75ac18878dd2b8 (diff) | |
download | FreeBSD-src-5f83b9b480944421611a7688dc43b090b48d6951.zip FreeBSD-src-5f83b9b480944421611a7688dc43b090b48d6951.tar.gz |
Fixed the formatting of some tables (mainly the one produced by ps
in ddb) which I broke by changing %8[l]x to %8p. Hacked the central
printf routine to not add an "0x" prefix for %p formats if the field
width is nonzero. The tables are still horribly misformatted on
64-bit machines.
Use %p instead of %8p to print pointers when the field width isn't
important.
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 752fea2..aa629d6 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -47,7 +47,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.53 1998/06/07 17:10:32 dfr Exp $ + * $Id: if_ie.c,v 1.54 1998/07/13 09:52:59 bde Exp $ */ /* @@ -2414,8 +2414,8 @@ setflag: static void print_rbd(volatile struct ie_recv_buf_desc * rbd) { - printf("RBD at %8p:\n" - "actual %04x, next %04x, buffer %8p\n" + printf("RBD at %p:\n" + "actual %04x, next %04x, buffer %p\n" "length %04x, mbz %04x\n", (void *) rbd, rbd->ie_rbd_actual, rbd->ie_rbd_next, |