diff options
author | dchagin <dchagin@FreeBSD.org> | 2009-05-07 03:23:22 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2009-05-07 03:23:22 +0000 |
commit | 9f1df514229a703d7db011676bd5a157cb106ddc (patch) | |
tree | 785a91aae2ba245bb87905df48ddf5d4fe932f96 /lib/libc/stdio/xprintf_int.c | |
parent | 0d6358f7957671afd7e5aa8708481d1246ad8f81 (diff) | |
download | FreeBSD-src-9f1df514229a703d7db011676bd5a157cb106ddc.zip FreeBSD-src-9f1df514229a703d7db011676bd5a157cb106ddc.tar.gz |
Rework r191742.
Use the protocol family constants for the domain argument validation.
Return EAFNOSUPPORT in case when the incorrect domain argument
is specified.
Return EPROTONOSUPPORT instead of passing values that are not 0
to the BSD layer.
Suggested by: rwatson
Approved by: kib (mentor)
MFC after: 1 month
Diffstat (limited to 'lib/libc/stdio/xprintf_int.c')
0 files changed, 0 insertions, 0 deletions