From 39ab9bf096384dbd615d722a3311a33e7929d8ff Mon Sep 17 00:00:00 2001 From: Marius Tolzmann Date: Tue, 18 Aug 2015 16:47:25 +0200 Subject: [PATCH] mxqkill: Fix error message --- mxqkill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxqkill.c b/mxqkill.c index 4ebc288..2d0b82d 100644 --- a/mxqkill.c +++ b/mxqkill.c @@ -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);