diff options
author | marcel <marcel@FreeBSD.org> | 2008-11-29 21:20:07 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-11-29 21:20:07 +0000 |
commit | 3e94b73b94aaf0d6f7e3baf4830e4185f90142fa (patch) | |
tree | 94569cdaf4bfb7dc04cc311ee058ad59a7dde47b /lib/libthr | |
parent | bb05e1a003ef80629f9ca38084317dc934119ef3 (diff) | |
download | FreeBSD-src-3e94b73b94aaf0d6f7e3baf4830e4185f90142fa.zip FreeBSD-src-3e94b73b94aaf0d6f7e3baf4830e4185f90142fa.tar.gz |
Parse the error string returned by the kernel. The format is:
<errno> [<parameter> <value>]
So, rather than printing the error:
gpart: 22 scheme 'gpt'
gpart(8) now prints:
gpart: scheme 'gpt': invalid argument
Diffstat (limited to 'lib/libthr')
0 files changed, 0 insertions, 0 deletions