Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/syscall Fix copy-pasto.



details:   https://anonhg.NetBSD.org/src/rev/d61cb9664051
branches:  trunk
changeset: 766894:d61cb9664051
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Jul 03 19:02:00 2011 +0000

description:
Fix copy-pasto.

diffstat:

 tests/syscall/t_mknod.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 0c6b07d74509 -r d61cb9664051 tests/syscall/t_mknod.c
--- a/tests/syscall/t_mknod.c   Sun Jul 03 18:46:12 2011 +0000
+++ b/tests/syscall/t_mknod.c   Sun Jul 03 19:02:00 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_mknod.c,v 1.2 2011/07/03 15:42:07 jruoho Exp $ */
+/* $NetBSD: t_mknod.c,v 1.3 2011/07/03 19:02:00 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_mknod.c,v 1.2 2011/07/03 15:42:07 jruoho Exp $");
+__RCSID("$NetBSD: t_mknod.c,v 1.3 2011/07/03 19:02:00 jruoho Exp $");
 
 #include <sys/stat.h>
 
@@ -121,7 +121,7 @@
        ATF_REQUIRE(stat(path, &st) == 0);
 
        if (S_ISCHR(st.st_mode) == 0)
-               atf_tc_fail_nonfatal("invalid mode from mknod(2) (S_IFBLK)");
+               atf_tc_fail_nonfatal("invalid mode from mknod(2) (S_IFCHR)");
 
        ATF_REQUIRE(unlink(path) == 0);
 



Home | Main Index | Thread Index | Old Index