diff options
author | robert <robert@FreeBSD.org> | 2003-01-31 15:16:52 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2003-01-31 15:16:52 +0000 |
commit | 4a93c6295ede957930be19d780d8d9f5c66a85b2 (patch) | |
tree | 18dac6bb6bc9d0b9ae96976fd9aaa03167e2b5ac /usr.sbin/ppp/link.c | |
parent | c3a292768544d6dbd48ecda64065fe873955e134 (diff) | |
download | FreeBSD-src-4a93c6295ede957930be19d780d8d9f5c66a85b2.zip FreeBSD-src-4a93c6295ede957930be19d780d8d9f5c66a85b2.tar.gz |
- Modernize the format of the open file showing mode output:
. Print the column headers centered (except for the left-aligned
TYPE header) using a different header for architectures where
sizeof(uintptr_t) is not four.
. Consistently do not print a '0x' prefix for hexadecimal values.
. Separate columns by a single space character.
. Pad the columns presenting an address or offset enough to hold
their respective largest value.
. Do not restrict the output to unknown file types, inodes and
sockets; allow displaying of pipes, fifos, kqueues and crypto file
descriptors too.
- Shorten an overly long line by removing a cast of printf's return
value to void.
PR: alpha/45240
Tested on: i386, sparc64, alpha
Diffstat (limited to 'usr.sbin/ppp/link.c')
0 files changed, 0 insertions, 0 deletions