summaryrefslogtreecommitdiff
path: root/src/cgls/cgls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r--src/cgls/cgls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index ea79b9185e..5574c14555 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -241,9 +241,9 @@ int main(int argc, char *argv[]) {
goto finish;
}
- r = cg_split_spec(*name, &c, &p);
- if (r < 0) {
- log_error_errno(r, "Failed to split argument %s: %m", *name);
+ q = cg_split_spec(*name, &c, &p);
+ if (q < 0) {
+ log_error_errno(q, "Failed to split argument %s: %m", *name);
goto failed;
}