Skip to content

Commit

Permalink
mxqkill: Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Aug 18, 2015
1 parent 3983a9e commit 39ab9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxqkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ int main(int argc, char *argv[])
mx_log_err("setting status of job %lu to CANCELLING failed: %s", arg_job_id, strerror(-res1));

if (res2 < 0)
mx_log_err("setting status of job %lu to CANCELLED failed: %s", arg_job_id, strerror(-res1));
mx_log_err("setting status of job %lu to CANCELLED failed: %s", arg_job_id, strerror(-res2));

if (res2 > 0) {
mx_log_notice("Job %lu cancelled!", arg_job_id);
Expand Down

0 comments on commit 39ab9bf

Please sign in to comment.