]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
sync fnmatch.c with upstream to fix another typo
authorDamien Miller <djm@mindrot.org>
Fri, 13 Mar 2020 03:30:16 +0000 (14:30 +1100)
committerDamien Miller <djm@mindrot.org>
Fri, 13 Mar 2020 03:30:16 +0000 (14:30 +1100)
openbsd-compat/fnmatch.c

index da841d203d388cd11a9f93cec0ed57fb97b694f6..b5641a0916326c0a38183adab0c61813556dad9c 100644 (file)
@@ -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;