mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 05:58:49 +00:00
cramfs: clean up some error messages
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 <dan.carpenter@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
be5f9a77f8
commit
1678e269c5
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue