summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-04 00:40:09 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-04 00:40:09 -0500
commitc015c3966d98a8b120a0e3ebb900b0755eeae750 (patch)
tree08f2f1eeb59a2989597fe9a973eabbacfcf65e83
parentb1201e542c68eab6247de66a3460914b625d9302 (diff)
downloadlibsandglass-c015c3966d98a8b120a0e3ebb900b0755eeae750.tar.xz
Fix perror() strings in tests.
-rw-r--r--tests/introspective-cputime.c2
-rw-r--r--tests/introspective-system.c2
-rw-r--r--tests/monotonic-cputime.c2
-rw-r--r--tests/monotonic-realticks.c2
-rw-r--r--tests/monotonic-system.c2
-rw-r--r--tests/noprecache.c2
6 files changed, 6 insertions, 6 deletions
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;
}