Module Name: src Committed By: kre Date: Thu Aug 11 21:34:11 UTC 2016
Modified Files: src/tests/lib/libc/gen: t_sleep.c Log Message: Correct use of incorrect errno - should have no real practical effect. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libc/gen/t_sleep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/gen/t_sleep.c diff -u src/tests/lib/libc/gen/t_sleep.c:1.8 src/tests/lib/libc/gen/t_sleep.c:1.9 --- src/tests/lib/libc/gen/t_sleep.c:1.8 Tue Jul 15 14:56:34 2014 +++ src/tests/lib/libc/gen/t_sleep.c Thu Aug 11 21:34:11 2016 @@ -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 @@ do_kevent(struct timespec *delay, struct (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; }