projects
/
ccan
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
antithread: fix -Wwrite-strings warning in test, and trailing whitespace.
[ccan]
/
ccan
/
antithread
/
antithread.c
diff --git
a/ccan/antithread/antithread.c
b/ccan/antithread/antithread.c
index da607c1e7b28cd15a07bad97c95805349c863a65..e3f3bac92277379149ff5985509da319389f7e3a 100644
(file)
--- a/
ccan/antithread/antithread.c
+++ b/
ccan/antithread/antithread.c
@@
-420,7
+420,7
@@
struct at_pool *at_get_pool(int *argc, char *argv[], void **arg)
p = atp->p = talloc(atp, struct at_pool_contents);
- if (sscanf(argv[1], "AT:%p/%lu/%i/%i/%i/%p",
+ if (sscanf(argv[1], "AT:%p/%lu/%i/%i/%i/%p",
&p->pool, &p->poolsize, &p->fd,
&p->parent_rfd, &p->parent_wfd, arg) != 6) {
errno = EINVAL;