Skip to content

Commit

Permalink
gfapi: Fix typo.
Browse files Browse the repository at this point in the history
Print the correct filename in the error message.
  • Loading branch information
mvwieringen committed Oct 24, 2017
1 parent 600fe77 commit d7f3c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/filed/gfapi-fd.c
Expand Up @@ -697,7 +697,7 @@ static bRC get_next_file_to_backup(bpContext *ctx)
if (status != 0) {
berrno be;

Jmsg(ctx, M_ERROR, "gfapi-fd: glfs_stat(%s) failed: %s\n", p_ctx->cwd, be.bstrerror());
Jmsg(ctx, M_ERROR, "gfapi-fd: glfs_stat(%s) failed: %s\n", p_ctx->next_filename, be.bstrerror());
return bRC_Error;
}
} else {
Expand Down

0 comments on commit d7f3c9d

Please sign in to comment.