From c015c3966d98a8b120a0e3ebb900b0755eeae750 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 4 Mar 2010 00:40:09 -0500 Subject: Fix perror() strings in tests. --- tests/introspective-cputime.c | 2 +- tests/introspective-system.c | 2 +- tests/monotonic-cputime.c | 2 +- tests/monotonic-realticks.c | 2 +- tests/monotonic-system.c | 2 +- tests/noprecache.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/introspective-cputime.c b/tests/introspective-cputime.c index 3f4158e..7ebf041 100644 --- a/tests/introspective-cputime.c +++ b/tests/introspective-cputime.c @@ -32,7 +32,7 @@ main() struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L }; if (sandglass_init_introspective(&sandglass, SANDGLASS_CPUTIME) != 0) { - perror("sandglass_create()"); + perror("sandglass_init_introspective()"); return EXIT_FAILURE; } diff --git a/tests/introspective-system.c b/tests/introspective-system.c index 5dee23a..8ed6441 100644 --- a/tests/introspective-system.c +++ b/tests/introspective-system.c @@ -32,7 +32,7 @@ main() struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L }; if (sandglass_init_introspective(&sandglass, SANDGLASS_SYSTEM) != 0) { - perror("sandglass_create()"); + perror("sandglass_init_introspective()"); return EXIT_FAILURE; } diff --git a/tests/monotonic-cputime.c b/tests/monotonic-cputime.c index f034df3..3f59a3f 100644 --- a/tests/monotonic-cputime.c +++ b/tests/monotonic-cputime.c @@ -32,7 +32,7 @@ main() struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L }; if (sandglass_init_monotonic(&sandglass, SANDGLASS_CPUTIME) != 0) { - perror("sandglass_create()"); + perror("sandglass_init_monotonic()"); return EXIT_FAILURE; } diff --git a/tests/monotonic-realticks.c b/tests/monotonic-realticks.c index 5fff86e..e3e973a 100644 --- a/tests/monotonic-realticks.c +++ b/tests/monotonic-realticks.c @@ -32,7 +32,7 @@ main() sandglass_t sandglass; if (sandglass_init_monotonic(&sandglass, SANDGLASS_CPUTIME) != 0) { - perror("sandglass_create()"); + perror("sandglass_init_monotonic()"); return EXIT_FAILURE; } diff --git a/tests/monotonic-system.c b/tests/monotonic-system.c index d8ffba9..1fb1c1c 100644 --- a/tests/monotonic-system.c +++ b/tests/monotonic-system.c @@ -32,7 +32,7 @@ main() struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L }; if (sandglass_init_monotonic(&sandglass, SANDGLASS_SYSTEM) != 0) { - perror("sandglass_create()"); + perror("sandglass_init_monotonic()"); return EXIT_FAILURE; } diff --git a/tests/noprecache.c b/tests/noprecache.c index e48929d..7e3bb27 100644 --- a/tests/noprecache.c +++ b/tests/noprecache.c @@ -34,7 +34,7 @@ main() struct timespec tosleep = { .tv_sec = 0, .tv_nsec = 111111111L }; if (sandglass_init_monotonic(&sandglass, SANDGLASS_SYSTEM) != 0) { - perror("sandglass_create()"); + perror("sandglass_init_monotonic()"); return EXIT_FAILURE; } -- cgit v1.2.3