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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user