diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-12-19 09:45:23 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-12-19 09:45:23 +0000 |
commit | eda5b3994e92c630d60c9fca190d2b6fdff94869 (patch) | |
tree | bbd95d49f968931c17ee72663d2b2154c8428d61 /contrib/netbsd-tests/lib/libc/stdio/t_popen.c | |
parent | 9f0e621d7260924335b3b7f7c699434328d6fd21 (diff) | |
download | FreeBSD-src-eda5b3994e92c630d60c9fca190d2b6fdff94869.zip FreeBSD-src-eda5b3994e92c630d60c9fca190d2b6fdff94869.tar.gz |
MFC r309404:
Fix return value from ng_uncallout().
callout_stop() recently started returning -1 when the callout is already
stopped, which is not handled by the netgraph code. Properly filter
the return value. Netgraph callers only want to know if the callout
was cancelled and not draining or already stopped.
Discussed with: julian, glebius
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdio/t_popen.c')
0 files changed, 0 insertions, 0 deletions