Skip to content

Commit

Permalink
Merge pull request #70 from fischerling/improve-ext2-err-msg
Browse files Browse the repository at this point in the history
ext2: fix error message
  • Loading branch information
Galfurian committed Apr 2, 2024
2 parents dd2ce93 + 4756716 commit b85b05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mentos/src/fs/ext2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3042,7 +3042,7 @@ static int ext2_stat(const char *path, stat_t *stat)
memset(&search, 0, sizeof(ext2_direntry_search_t));
// Resolve the path.
if (ext2_resolve_path(fs->root, absolute_path, &search)) {
pr_err("Failed to resolve path `%s`.\n", absolute_path);
pr_err("Failed to resolve path `%s`.\n", path);
return -ENOENT;
}
// Get the inode associated with the directory entry.
Expand Down

0 comments on commit b85b05e

Please sign in to comment.