Skip to content

Commit

Permalink
Merge pull request #256 from eriksjolund/fix-error-message
Browse files Browse the repository at this point in the history
fuse: Fix filepath argument in error message
  • Loading branch information
cgwalters committed Mar 3, 2024
2 parents 8565a8b + 770cc36 commit 72c602a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cfs-fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ int main(int argc, char *argv[])
/* Memory-map the file. */
erofs_data = mmap(0, erofs_data_size, PROT_READ, MAP_PRIVATE, fd, 0);
if (erofs_data == MAP_FAILED) {
errx(EXIT_FAILURE, "Failed to mmap %s\n", argv[1]);
errx(EXIT_FAILURE, "Failed to mmap %s\n", data.source);
}
close(fd);

Expand Down

0 comments on commit 72c602a

Please sign in to comment.