Commit d750be6a authored by Wayne Davison's avatar Wayne Davison

Make sure we don't try to output a NULL pointer in a verbose message.

parent 0bb86165
......@@ -1736,8 +1736,9 @@ static void touch_up_dirs(struct file_list *flist, int ndx)
for (i = start; i <= end; i++, counter++) {
file = flist->files[i];
if (verbose > 3) {
fname = f_name(file, NULL);
rprintf(FINFO, "touch_up_dirs: %s (%d)\n",
f_name(file, NULL), i);
NS(fname), i);
}
if (!F_IS_ACTIVE(file) || !S_ISDIR(file->mode)
|| file->flags & FLAG_MISSING_DIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment