From d9dd33c0d93d5d1a1f9ff3a4a5059367931cadae Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 11 May 2015 15:08:58 +0100 Subject: 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 --- lib/igt_aux.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/igt_aux.c') 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"); } /** -- cgit v1.2.3