Patchwork [4/7] sanity.bbclass: add newline to check_create_long_filename failure message

login
register
mail settings
Submitter Joshua Lock
Date May 24, 2012, 12:03 a.m.
Message ID <75b541cf65de1f4befc357bba0535ea8257f36b4.1337816265.git.josh@linux.intel.com>
Download mbox | patch
Permalink /patch/28507/
State Accepted
Commit 9362702aa9dd82fed7e6d6e3cb1289521b802075
Headers show

Comments

Joshua Lock - May 24, 2012, 12:03 a.m.
Each failure in the sanity message should be reported on a new line.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 meta/classes/sanity.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 5cf9ea1..39da14b 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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):