diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-01-31 12:16:41 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-01-31 12:16:52 -0500 |
commit | 88525617e977b2b24315e8a7bc565c2975cdf345 (patch) | |
tree | 795dc1fd4a63ac41f96720c666edbe6da6a9270d /tests/mksock.c | |
parent | 52537ad1cb46450f0b4eed090f5adfa9cbaeeb02 (diff) | |
download | bfs-88525617e977b2b24315e8a7bc565c2975cdf345.tar.xz |
tests: Use close() wrappers
Diffstat (limited to 'tests/mksock.c')
-rw-r--r-- | tests/mksock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mksock.c b/tests/mksock.c index 05edbeb..42ef322 100644 --- a/tests/mksock.c +++ b/tests/mksock.c @@ -100,7 +100,7 @@ int main(int argc, char *argv[]) { ret = EXIT_FAILURE; } - if (close(fd) != 0) { + if (xclose(fd) != 0) { errmsg(cmd, path); ret = EXIT_FAILURE; } |