summaryrefslogtreecommitdiffstats
path: root/tests/mksock.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mksock.c')
-rw-r--r--tests/mksock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mksock.c b/tests/mksock.c
index 7023b4f..f3b61da 100644
--- a/tests/mksock.c
+++ b/tests/mksock.c
@@ -19,7 +19,7 @@
* Print an error message.
*/
static void errmsg(const char *cmd, const char *path) {
- fprintf(stderr, "%s: '%s': %s.\n", cmd, path, strerror(errno));
+ fprintf(stderr, "%s: '%s': %s.\n", cmd, path, xstrerror(errno));
}
/**