Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/ffs fix !USE_ATF



details:   https://anonhg.NetBSD.org/src/rev/97fb8787437a
branches:  trunk
changeset: 754467:97fb8787437a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sat May 01 10:46:29 2010 +0000

description:
fix !USE_ATF

diffstat:

 tests/fs/ffs/t_fifos.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e69f63df3afb -r 97fb8787437a tests/fs/ffs/t_fifos.c
--- a/tests/fs/ffs/t_fifos.c    Sat May 01 10:44:59 2010 +0000
+++ b/tests/fs/ffs/t_fifos.c    Sat May 01 10:46:29 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_fifos.c,v 1.1 2010/03/29 13:26:32 pooka Exp $        */
+/*     $NetBSD: t_fifos.c,v 1.2 2010/05/01 10:46:29 pooka Exp $        */
 
 #include <sys/types.h>
 #include <sys/mount.h>
@@ -32,7 +32,7 @@
 #else
 #include <err.h>
 #define atf_tc_fail_errno(a) err(1, a)
-#define atf_tc_fail(a, ...) err(1, a)
+#define atf_tc_fail(...) err(1, __VA_ARGS__)
 #endif
 
 #define teststr1 "raving & drooling"



Home | Main Index | Thread Index | Old Index