From: Paul Eggert Date: Tue, 9 Nov 2021 18:06:22 +0000 (-0800) Subject: Fix typos in previous patch. X-Git-Tag: v1.0~2558 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=50d64b72f2487efcaca6a8b240bc80168e5eb3cb;p=gnulib.git Fix typos in previous patch. --- diff --git a/lib/exclude.c b/lib/exclude.c index cff30fcb7e..fe769bb7af 100644 --- a/lib/exclude.c +++ b/lib/exclude.c @@ -675,12 +675,12 @@ add_exclude_file (void (*add_func) (struct exclude *, char const *, int), char line_end) { if (strcmp (file_name, "-") == 0) - return add_exclude_fp (call_addfn, ex, stdin, options, line_end, add_func); + return add_exclude_fp (call_addfn, ex, stdin, options, line_end, &add_func); FILE *in = fopen (file_name, "re"); if (!in) return -1; - int rc = add_exclude_fp (call_addfn, ex, in, options, line_end, add_func); + int rc = add_exclude_fp (call_addfn, ex, in, options, line_end, &add_func); int e = errno; if (fclose (in) != 0) return -1;