Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/m4 m4: fix typo in error message



details:   https://anonhg.NetBSD.org/src/rev/938f5b09b2a4
branches:  trunk
changeset: 1027146:938f5b09b2a4
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Dec 07 20:24:07 2021 +0000

description:
m4: fix typo in error message

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

diffstat:

 usr.bin/m4/gnum4.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a85445863fc1 -r 938f5b09b2a4 usr.bin/m4/gnum4.c
--- a/usr.bin/m4/gnum4.c        Tue Dec 07 20:04:00 2021 +0000
+++ b/usr.bin/m4/gnum4.c        Tue Dec 07 20:24:07 2021 +0000
@@ -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 @@
                }
        }
 out:
-       m4errx(EXIT_FAILURE, "Unexprected end of file in `%s'", fname);
+       m4errx(EXIT_FAILURE, "Unexpected end of file in `%s'", fname);
 }
 #endif



Home | Main Index | Thread Index | Old Index