summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2020-03-13 14:30:16 +1100
committerDamien Miller <djm@mindrot.org>2020-03-13 14:30:16 +1100
commit955c4cf4c6a1417c28d4e1040702c4d9bf63645b (patch)
tree2acb96b5878cd1af853220d47a8abca66fcb9cc2
parent397f217e8640e75bb719a8e87111b4bd848fb3df (diff)
sync fnmatch.c with upstream to fix another typo
-rw-r--r--openbsd-compat/fnmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/fnmatch.c b/openbsd-compat/fnmatch.c
index da841d20..b5641a09 100644
--- a/openbsd-compat/fnmatch.c
+++ b/openbsd-compat/fnmatch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fnmatch.c,v 1.21 2016/03/01 20:29:03 millert Exp $ */
+/* $OpenBSD: fnmatch.c,v 1.22 2020/03/13 03:25:45 djm Exp $ */
/* Copyright (c) 2011, VMware, Inc.
* All rights reserved.
@@ -294,7 +294,7 @@ int fnmatch(const char *pattern, const char *string, int flags)
const int leading_dir = !!(flags & FNM_LEADING_DIR);
const char *dummyptr, *matchptr, *strendseg;
int wild;
- /* For '*' wild processing only; surpress 'used before initialization'
+ /* For '*' wild processing only; suppress 'used before initialization'
* warnings with dummy initialization values;
*/
const char *strstartseg = NULL;