summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-01-09 05:40:54 +0000
committerrwatson <rwatson@FreeBSD.org>2001-01-09 05:40:54 +0000
commit77af9a1a6454856b9023e35400f1eeeb56bc7efc (patch)
tree27b2cc0f14879ab92614d542340e1a9a054068c4 /lib
parent8b948144e8dbfd4a5d3033c61804c2e9d491b262 (diff)
downloadFreeBSD-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.c2
-rw-r--r--lib/libposix1e/cap_get_fd.c2
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);
}
OpenPOWER on IntegriCloud