summaryrefslogtreecommitdiff
path: root/lib/igt_aux.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-05-11 15:08:58 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-05-11 15:10:19 +0100
commitd9dd33c0d93d5d1a1f9ff3a4a5059367931cadae (patch)
treeda0380f943ea81aeb92c0742ed3c5aaecfb93967 /lib/igt_aux.c
parent9b0a32dc80b6b0c0f35d06fc833f29510efccd72 (diff)
lib: Add missing '\n' to error message
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>
Diffstat (limited to 'lib/igt_aux.c')
-rw-r--r--lib/igt_aux.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/igt_aux.c b/lib/igt_aux.c
index 84b84e4a..d5c70fa2 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");
}
/**