]> granicus.if.org Git - sudo/commitdiff
Fix botched ANSI C coversion of globexp2()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 12 Mar 2010 17:40:00 +0000 (12:40 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 12 Mar 2010 17:40:00 +0000 (12:40 -0500)
compat/glob.c

index c31f07d0a521afcaa6674ea8180bf4edd7606c63..20d0244244e2b6e223bc869fcedebd4f292d2f39 100644 (file)
@@ -247,7 +247,7 @@ globexp1(const Char *pattern, glob_t *pglob)
  * If it fails then it tries to glob the rest of the pattern and returns.
  */
 static int
-globexp2(const Char *ptr, *pattern, glob_t *pglob, int *rv)
+globexp2(const Char *ptr, const Char *pattern, glob_t *pglob, int *rv)
 {
        int     i;
        Char   *lm, *ls;