[Intel-gfx] [PATCH i-g-t] lib: Add missing '\n' to error message

Damien Lespiau damien.lespiau at intel.com
Mon May 11 07:10:41 PDT 2015


Those messages where missing a new line at the end. Take the opportunity
to re-format the messages to fit in the 80 chars limit.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 lib/igt_aux.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index 84b84e4..d5c70fa 100644
--- a/lib/igt_aux.c
+++ b/lib/igt_aux.c
@@ -357,8 +357,10 @@ void igt_system_suspend_autoresume(void)
 	igt_skip_on_simulation();
 
 	ret = system("rtcwake -s 30 -m mem");
-	igt_assert_f(ret == 0, "This failure means that something is wrong with the rtcwake tool "
-		     "or how your distro is set up. This is not a i915.ko or i-g-t bug.");
+	igt_assert_f(ret == 0,
+		     "This failure means that something is wrong with the "
+		     "rtcwake tool or how your distro is set up. This is not "
+		     "a i915.ko or i-g-t bug.\n");
 }
 
 /**
@@ -385,8 +387,10 @@ void igt_system_hibernate_autoresume(void)
 	 * or if we have to wait excessively long before resume
 	 */
 	ret = system("rtcwake -s 90 -m disk");
-	igt_assert_f(ret == 0, "This failure means that something is wrong with the rtcwake tool "
-		     "or how your distro is set up. This is not a i915.ko or i-g-t bug.");
+	igt_assert_f(ret == 0,
+		     "This failure means that something is wrong with the "
+		     "rtcwake tool or how your distro is set up. This is not "
+		     "a i915.ko or i-g-t bug.\n");
 }
 
 /**
-- 
2.1.0



More information about the Intel-gfx mailing list