Makefile: Make dependency directory creation less noisy
[gitweb.git] / pkt-line.c
index bd603f8721704305c2ce4608a09df38ed4bc55a0..295ba2b16c8675d8c5c5d0a5ee6e61e044ce99dd 100644 (file)
@@ -129,7 +129,7 @@ int packet_read_line(int fd, char *buffer, unsigned size)
        safe_read(fd, linelen, 4);
        len = packet_length(linelen);
        if (len < 0)
-               die("protocol error: bad line length character");
+               die("protocol error: bad line length character: %.4s", linelen);
        if (!len)
                return 0;
        len -= 4;