aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2017-05-15 21:11:50 -0300
committerStefan Hajnoczi <stefanha@redhat.com>2017-06-07 14:38:44 +0100
commitf652402487be592402a5edc000a652344e842369 (patch)
tree0145af01b1004830a922c14ce7d4d572f445e024 /scripts
parent462e5d506573e61adce70f53176d5ae85d1ba92a (diff)
coccinelle: fix typo in comment
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/coccinelle/return_directly.cocci2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/return_directly.cocci b/scripts/coccinelle/return_directly.cocci
index 48680f2c2a..4cf50e75ea 100644
--- a/scripts/coccinelle/return_directly.cocci
+++ b/scripts/coccinelle/return_directly.cocci
@@ -1,4 +1,4 @@
-// replace 'R = X; return R;' with 'return R;'
+// replace 'R = X; return R;' with 'return X;'
@@
identifier VAR;
expression E;