sanity.bbclass: add newline to check_create_long_filename failure message

Each failure in the sanity message should be reported on a new line.

(From OE-Core rev: 9362702aa9dd82fed7e6d6e3cb1289521b802075)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock 2012-05-23 16:19:23 -07:00 committed by Richard Purdie
parent 2e12fcf3a1
commit 13a86cb33d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def check_create_long_filename(filepath, pathname):
if errno == 36: # ENAMETOOLONG
return "Failed to create a file with a long name in %s. Please use a filesystem that does not unreasonably limit filename length.\n" % pathname
else:
return "Failed to create a file in %s: %s" % (pathname, strerror)
return "Failed to create a file in %s: %s.\n" % (pathname, strerror)
return ""
def check_connectivity(d):