Module Name:    src
Committed By:   dholland
Date:           Sat Aug 27 21:18:39 UTC 2022

Modified Files:
        src/bin/test: test.c

Log Message:
PR 56983 Izumi Tsutsui: fix confusing message in test(1) with -DSMALL


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/bin/test/test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/test/test.c
diff -u src/bin/test/test.c:1.44 src/bin/test/test.c:1.45
--- src/bin/test/test.c:1.44	Sun Dec  5 04:42:55 2021
+++ src/bin/test/test.c	Sat Aug 27 21:18:39 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: test.c,v 1.44 2021/12/05 04:42:55 msaitoh Exp $ */
+/* $NetBSD: test.c,v 1.45 2022/08/27 21:18:39 dholland Exp $ */
 
 /*
  * test(1); version 7-like  --  author Erik Baalbergen
@@ -12,7 +12,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: test.c,v 1.44 2021/12/05 04:42:55 msaitoh Exp $");
+__RCSID("$NetBSD: test.c,v 1.45 2022/08/27 21:18:39 dholland Exp $");
 #endif
 
 #include <sys/stat.h>
@@ -306,7 +306,7 @@ main(int argc, char *argv[])
 	 */
 
 #ifdef SMALL
-	error("SMALL test, no fallback usage");
+	error("unsupported expression when built with -DSMALL");
 #else
 
 	t_wp = &argv[1];

Reply via email to