Module Name:    src
Committed By:   rillig
Date:           Tue Dec  7 20:24:08 UTC 2021

Modified Files:
        src/usr.bin/m4: gnum4.c

Log Message:
m4: fix typo in error message

To trigger the error message, compile m4 with -DREAL_FREEZE, then run
'./m4 -R /dev/null'.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/m4/gnum4.c

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

Modified files:

Index: src/usr.bin/m4/gnum4.c
diff -u src/usr.bin/m4/gnum4.c:1.10 src/usr.bin/m4/gnum4.c:1.11
--- src/usr.bin/m4/gnum4.c:1.10	Sat Jan 16 16:59:18 2016
+++ src/usr.bin/m4/gnum4.c	Tue Dec  7 20:24:07 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: gnum4.c,v 1.10 2016/01/16 16:59:18 christos Exp $ */
+/* $NetBSD: gnum4.c,v 1.11 2021/12/07 20:24:07 rillig Exp $ */
 /* $OpenBSD: gnum4.c,v 1.39 2008/08/21 21:01:04 espie Exp $ */
 
 /*
@@ -33,7 +33,7 @@
 #include "nbtool_config.h"
 #endif
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: gnum4.c,v 1.10 2016/01/16 16:59:18 christos Exp $");
+__RCSID("$NetBSD: gnum4.c,v 1.11 2021/12/07 20:24:07 rillig Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -812,6 +812,6 @@ thaw_state(const char *fname)
 		}
 	}
 out:
-	m4errx(EXIT_FAILURE, "Unexprected end of file in `%s'", fname);
+	m4errx(EXIT_FAILURE, "Unexpected end of file in `%s'", fname);
 }
 #endif

Reply via email to