From 4d61580232304aa038e0c1ff6451eec7e1cb5285 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 26 Oct 2002 03:26:33 +0000 Subject: [PATCH] convert sys_errlist to g_strerror() Original commit message from CVS: convert sys_errlist to g_strerror() --- gst/udp/gstudpsink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/udp/gstudpsink.c b/gst/udp/gstudpsink.c index 4991bd0e50..4273dda6f0 100644 --- a/gst/udp/gstudpsink.c +++ b/gst/udp/gstudpsink.c @@ -145,7 +145,7 @@ gst_udpsink_sinkconnect (GstPad *pad, GstCaps *caps) if (connect(fd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) != 0) { g_printerr ("udpsink: connect to %s port %d failed: %s\n", - udpsink->host, udpsink->port, sys_errlist[errno]); + udpsink->host, udpsink->port, g_strerror(errno)); return GST_PAD_CONNECT_REFUSED; } f = fdopen (dup (fd), "wb"); -- 2.34.1