From: Todd C. Miller Date: Fri, 12 Mar 2010 17:40:00 +0000 (-0500) Subject: Fix botched ANSI C coversion of globexp2() X-Git-Tag: SUDO_1_8_0~828 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93ae94f9dfabe1344e576471ff8c1d54339bc9f7;p=sudo Fix botched ANSI C coversion of globexp2() --- diff --git a/compat/glob.c b/compat/glob.c index c31f07d0a..20d024424 100644 --- a/compat/glob.c +++ b/compat/glob.c @@ -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;