Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen Correct use of incorrect errno - should h...
details: https://anonhg.NetBSD.org/src/rev/fcad378aeac2
branches: trunk
changeset: 347057:fcad378aeac2
user: kre <kre%NetBSD.org@localhost>
date: Thu Aug 11 21:34:11 2016 +0000
description:
Correct use of incorrect errno - should have no real practical effect.
diffstat:
tests/lib/libc/gen/t_sleep.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r df3cb5d772ac -r fcad378aeac2 tests/lib/libc/gen/t_sleep.c
--- a/tests/lib/libc/gen/t_sleep.c Thu Aug 11 21:29:44 2016 +0000
+++ b/tests/lib/libc/gen/t_sleep.c Thu Aug 11 21:34:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_sleep.c,v 1.8 2014/07/15 14:56:34 gson Exp $ */
+/* $NetBSD: t_sleep.c,v 1.9 2016/08/11 21:34:11 kre Exp $ */
/*-
* Copyright (c) 2006 Frank Kardel
@@ -171,7 +171,8 @@
(void)close(kq);
if (rtc == -1) {
- ATF_REQUIRE_MSG(kerrno == EINTR, "kevent: %s", strerror(errno));
+ ATF_REQUIRE_MSG(kerrno == EINTR, "kevent: %s",
+ strerror(kerrno));
return 0;
}
Home |
Main Index |
Thread Index |
Old Index