summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2022-08-27 21:18:39 +0000
committerdholland <dholland@NetBSD.org>2022-08-27 21:18:39 +0000
commit6b6e166cc9b9fbe5826a461989dca1f931c30d36 (patch)
tree22525df61d949f10659f451f3b2d883902ab1ecb /bin
parentbcdfc5e82011b1a7da820fb720be211070f93a0a (diff)
PR 56983 Izumi Tsutsui: fix confusing message in test(1) with -DSMALL
Diffstat (limited to 'bin')
-rw-r--r--bin/test/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index 35cb3f9786d..c8b17cc0128 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -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];