diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-02-11 17:57:18 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-02-11 17:57:18 +0100 |
commit | 4c89c718b555be6ac0b3bfb47f73255b637e16e5 (patch) | |
tree | 4fbfbf70320696c425c9140ef641908dfe2d2569 /coccinelle | |
parent | db2df898cc253402ff505259d09e0331a6f812c4 (diff) | |
download | systemd-4c89c718b555be6ac0b3bfb47f73255b637e16e5.tar.gz |
Imported Upstream version 229
Diffstat (limited to 'coccinelle')
-rw-r--r-- | coccinelle/xsprintf.cocci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/coccinelle/xsprintf.cocci b/coccinelle/xsprintf.cocci new file mode 100644 index 0000000000..401216ad72 --- /dev/null +++ b/coccinelle/xsprintf.cocci @@ -0,0 +1,6 @@ +@@ +expression e, fmt; +expression list vaargs; +@@ +- snprintf(e, sizeof(e), fmt, vaargs); ++ xsprintf(e, fmt, vaargs); |