Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pf/pfs s/enougth/enough/



details:   https://anonhg.NetBSD.org/src/rev/e85ed5340986
branches:  trunk
changeset: 373911:e85ed5340986
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Mar 17 17:12:54 2023 +0000

description:
s/enougth/enough/

diffstat:

 usr.sbin/pf/pfs/parse.y |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 569351ac5eee -r e85ed5340986 usr.sbin/pf/pfs/parse.y
--- a/usr.sbin/pf/pfs/parse.y   Fri Mar 17 00:46:35 2023 +0000
+++ b/usr.sbin/pf/pfs/parse.y   Fri Mar 17 17:12:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.y,v 1.3 2020/04/23 00:29:00 joerg Exp $ */
+/* $NetBSD: parse.y,v 1.4 2023/03/17 17:12:54 andvar Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: parse.y,v 1.3 2020/04/23 00:29:00 joerg Exp $");
+__RCSID("$NetBSD: parse.y,v 1.4 2023/03/17 17:12:54 andvar Exp $");
 #endif
 
 #include <stdio.h>
@@ -490,7 +490,7 @@
                allocated = 5;
                states->ps_buf = malloc(allocated * sizeof(struct pfsync_state));
                if (states->ps_buf == NULL)
-                       yyfatal("Not enougth memory");
+                       yyfatal("Not enough memory");
        }
 
        if (allocated == (states->ps_len / sizeof(struct pfsync_state))) {
@@ -499,7 +499,7 @@
                buf = realloc(states->ps_buf, allocated * sizeof(struct pfsync_state));
                if (buf == NULL) {
                        free(states->ps_buf);
-                       yyfatal("Not enougth memory");
+                       yyfatal("Not enough memory");
                }
                states->ps_buf = buf;
        }



Home | Main Index | Thread Index | Old Index