diff options
author | bde <bde@FreeBSD.org> | 2006-10-08 18:15:08 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2006-10-08 18:15:08 +0000 |
commit | ff5fb7910a5f1cf6327ac47939d4fadc117a4701 (patch) | |
tree | 9e69099aed086269ab338b986781b6629a9787c9 /lib/libautofs | |
parent | d3f48a8444029c6e96b2ad642d6448b598cf2b64 (diff) | |
download | FreeBSD-src-ff5fb7910a5f1cf6327ac47939d4fadc117a4701.zip FreeBSD-src-ff5fb7910a5f1cf6327ac47939d4fadc117a4701.tar.gz |
Fixed formatting of printing of command tables. WIth the default max
output width of 79, only 6 columns of width 12 each fit, but 7 columns
were printed.
The fix is to pass the width of the next output to db_end_line() and
not assume there that this width is always 1.
Related unfixed bugs:
- 1 character is wasted for a space after the last column
- suppression of trailing spaces used to limit the misformatting, but
seems to have been lost
- in db_examine(), the width of the next output is not know and is
still assumed to be 1.
Diffstat (limited to 'lib/libautofs')
0 files changed, 0 insertions, 0 deletions