mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
420 B
C
14 lines
420 B
C
$NetBSD: patch-xteld.c,v 1.1 2012/02/16 18:00:20 hans Exp $
|
|
|
|
--- xteld.c.orig 2012-01-27 10:38:52.463694864 +0100
|
|
+++ xteld.c 2012-01-27 10:41:01.412450708 +0100
|
|
@@ -264,7 +264,7 @@ int code_erreur;
|
|
}
|
|
else if (type_client == CLIENT_W_HYPER) {
|
|
if (e)
|
|
- sprintf (buf, "%s: %s", s, sys_errlist[errno]);
|
|
+ sprintf (buf, "%s: %s", s, strerror(errno));
|
|
else {
|
|
if (*s == '[')
|
|
strcpy (buf, s + 3);
|