summaryrefslogtreecommitdiff
path: root/test/string
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-15 04:26:20 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-15 04:26:20 +0000
commit09c9327657f21eb42e28ba195fde9316fdcc78e5 (patch)
tree16f3e3b8c4a731d22f2f08d3ff3c6d46cc689ab1 /test/string
parentdacafa9527a2dc0a56d72ad0bc35aa4b218e6028 (diff)
dont use %m glibcism
Diffstat (limited to 'test/string')
-rw-r--r--test/string/stratcliff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/string/stratcliff.c b/test/string/stratcliff.c
index 6377c6ed7..41e774681 100644
--- a/test/string/stratcliff.c
+++ b/test/string/stratcliff.c
@@ -52,7 +52,7 @@ main (int argc, char *argv[])
puts ("No test, mmap not available.");
else
{
- printf ("mmap failed: %m");
+ printf ("mmap failed: %s", strerror(errno));
result = 1;
}
}