summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib.c b/netlib.c
index 5673686e..3c3aa66d 100644
--- a/netlib.c
+++ b/netlib.c
@@ -143,7 +143,7 @@ const char /*@observer@*/ *netlib_errstr(const int err)
case NL_NOCONNECT:
return "can't connect to host/port pair";
default:
- return strerror(errno);
+ return "unknown error";
}
}