diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-01-09 05:40:54 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-01-09 05:40:54 +0000 |
commit | 77af9a1a6454856b9023e35400f1eeeb56bc7efc (patch) | |
tree | 27b2cc0f14879ab92614d542340e1a9a054068c4 /lib | |
parent | 8b948144e8dbfd4a5d3033c61804c2e9d491b262 (diff) | |
download | FreeBSD-src-77af9a1a6454856b9023e35400f1eeeb56bc7efc.zip FreeBSD-src-77af9a1a6454856b9023e35400f1eeeb56bc7efc.tar.gz |
o Correct spelling error from patch in previous commit.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/posix1e/cap_get_fd.c | 2 | ||||
-rw-r--r-- | lib/libposix1e/cap_get_fd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/posix1e/cap_get_fd.c b/lib/libc/posix1e/cap_get_fd.c index 77c2099..5b0197a 100644 --- a/lib/libc/posix1e/cap_get_fd.c +++ b/lib/libc/posix1e/cap_get_fd.c @@ -47,7 +47,7 @@ cap_get_fd(int fd) error = __cap_get_fd(fd, cap); if (error) { - errno = erro; + errno = error; cap_free(cap); return (NULL); } diff --git a/lib/libposix1e/cap_get_fd.c b/lib/libposix1e/cap_get_fd.c index 77c2099..5b0197a 100644 --- a/lib/libposix1e/cap_get_fd.c +++ b/lib/libposix1e/cap_get_fd.c @@ -47,7 +47,7 @@ cap_get_fd(int fd) error = __cap_get_fd(fd, cap); if (error) { - errno = erro; + errno = error; cap_free(cap); return (NULL); } |