[i-g-t] lib: Add missing '\n' to error message
diff mbox

Message ID 1431353441-12819-1-git-send-email-damien.lespiau@intel.com
State New
Headers show

Commit Message

Lespiau, Damien May 11, 2015, 2:10 p.m. UTC
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@intel.com>
---
 lib/igt_aux.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Patch
diff mbox

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");
 }
 
 /**