Skip to content

Commit

Permalink
cramfs: clean up some error messages
Browse files Browse the repository at this point in the history
This line break is not done correctly.  We don't want to have all those
tabs in the printed output.

Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
Dan Carpenter authored and trini committed Aug 8, 2023
1 parent be5f9a7 commit 1678e26
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions fs/cramfs/cramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ static unsigned long cramfs_resolve (unsigned long begin, unsigned long offset,
unsigned long ret;
char *link;
if (p && strlen(p)) {
printf ("unsupported symlink to \
non-terminal path\n");
printf ("unsupported symlink to non-terminal path\n");
return 0;
}
link = cramfs_uncompress_link (begin,
Expand All @@ -177,8 +176,7 @@ static unsigned long cramfs_resolve (unsigned long begin, unsigned long offset,
namelen, namelen, name);
return 0;
} else if (link[0] == '/') {
printf ("unsupported symlink to \
absolute path\n");
printf ("unsupported symlink to absolute path\n");
free (link);
return 0;
}
Expand Down

0 comments on commit 1678e26

Please sign in to comment.