]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/const-strlen.cocci
logind: when we cannot attach a passed fd to a device, close it
[thirdparty/systemd.git] / coccinelle / const-strlen.cocci
CommitLineData
fbd0b64f
LP
1@@
2constant s;
3@@
4- sizeof(s)-1
5+ STRLEN(s)
6@@
7constant s;
8@@
9- strlen(s)
10+ STRLEN(s)