Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
BUG_exit_code: fix sparse "symbol not declared" warning
[gitweb.git]
/
pkt-line.c
diff --git
a/pkt-line.c
b/pkt-line.c
index 2827ca772a3703f71bc588d0f6cacd5caa318fe7..cd3dab4025a6bf18b8b29546ad7b37098618901b 100644
(file)
--- a/
pkt-line.c
+++ b/
pkt-line.c
@@
-249,7
+249,7
@@
static int get_packet_data(int fd, char **src_buf, size_t *src_size,
ssize_t ret;
if (fd >= 0 && src_buf && *src_buf)
-
die("BUG:
multiple sources given to packet_read");
+
BUG("
multiple sources given to packet_read");
/* Read up to "size" bytes from our source, whatever it is. */
if (src_buf && *src_buf) {