aboutsummaryrefslogtreecommitdiff
path: root/tests/test_system.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_system.c')
-rw-r--r--tests/test_system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_system.c b/tests/test_system.c
index 9e4a862..cdef618 100644
--- a/tests/test_system.c
+++ b/tests/test_system.c
@@ -4,7 +4,7 @@ static int ascii_file_contains(const char *filename, const char *value) {
int result = -1;
char *contents = stasis_testing_read_ascii(filename);
if (!contents) {
- perror(filename);
+ SYSERROR("unable to read %s: %s", filename, strerror(errno));
return result;
}
result = strcmp(contents, value) == 0;