Make one error message more verbose.
authorAdrian Bondrescu <adi.bondrescu@gmail.com>
Sun, 24 Jun 2012 08:23:42 +0000 (11:23 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Mon, 18 Mar 2013 16:26:52 +0000 (18:26 +0200)
src/kernel/swift.c

index 5bc7434..270b43b 100644 (file)
@@ -363,7 +363,7 @@ static int swift_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr
 
        skb = skb_recv_datagram(sk, flags, flags & MSG_DONTWAIT, &err);
        if (unlikely(!skb)) {
-               log_error("skb_recv_datagram\n");
+               log_error("skb_recv_datagram failed with %d\n", err);
                goto out;
        }