diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-01-09 05:40:10 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-01-09 05:40:10 +0000 |
| commit | fe33e45a8039033f56b90b3cb0290967c930a735 (patch) | |
| tree | 7400a1b4f23c3e9b0cb88e1eba0bcb2e2512a4ec /lib/libc/posix1e/cap_get_file.c | |
| parent | ca1460dd646fdae3add421b875b52f53eb37be63 (diff) | |
Notes
Diffstat (limited to 'lib/libc/posix1e/cap_get_file.c')
| -rw-r--r-- | lib/libc/posix1e/cap_get_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/posix1e/cap_get_file.c b/lib/libc/posix1e/cap_get_file.c index c4deb6d412d4..a74bc4111d10 100644 --- a/lib/libc/posix1e/cap_get_file.c +++ b/lib/libc/posix1e/cap_get_file.c @@ -47,6 +47,7 @@ cap_get_file(const char *path_p) error = __cap_get_file(path_p, cap); if (error) { + errno = error; cap_free(cap); return (NULL); } |
