summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsandmann <sandmann>2007-07-30 03:26:00 +0000
committersandmann <sandmann>2007-07-30 03:26:00 +0000
commitb0d469435329e787fced0d5b7d5990b1918ff89e (patch)
treeee5b4f04e8769081ed72a95db694843b8349b0a6
parent954c261056a37d43604a9cb2679331ab000fd5c6 (diff)
Fix typo/bug in lac_socket_udp()
-rw-r--r--src/lacprimitives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lacprimitives.c b/src/lacprimitives.c
index 4ffb122..d75fdd1 100644
--- a/src/lacprimitives.c
+++ b/src/lacprimitives.c
@@ -180,7 +180,7 @@ lac_socket_udp (GError **err)
if (fd < 0)
{
- set_error_from_errno (err, errno, "socket() failed: %d");
+ set_error_from_errno (err, errno, "socket() failed: %s");
return -1;
}