summaryrefslogtreecommitdiffstats
path: root/backend_mitsu70x.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-11-27 08:17:16 -0500
committerSolomon Peachy <pizza@shaftnet.org>2019-11-27 08:17:16 -0500
commit0f0b788f531236faf6ad6d1ab7e69867d2e21563 (patch)
treeb1244a5fcdbb7f370967691240c3389830506fdb /backend_mitsu70x.c
parentc5dd3fc3d230cb347c8cb9d5b6244db2d2fd87ec (diff)
downloadselphy_print-0f0b788f531236faf6ad6d1ab7e69867d2e21563.tar.gz
selphy_print-0f0b788f531236faf6ad6d1ab7e69867d2e21563.tar.bz2
selphy_print-0f0b788f531236faf6ad6d1ab7e69867d2e21563.zip
mitsu70x: Log the error when failing to open the LUT.
Diffstat (limited to 'backend_mitsu70x.c')
-rw-r--r--backend_mitsu70x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend_mitsu70x.c b/backend_mitsu70x.c
index 796846c..cf7121f 100644
--- a/backend_mitsu70x.c
+++ b/backend_mitsu70x.c
@@ -1277,8 +1277,8 @@ repeat:
mitsu70x_cleanup_job(job);
return CUPS_BACKEND_RETRY_CURRENT;
}
- if (ctx->Get3DColorTable(buf, job->lutfname)) {
- ERROR("Unable to open LUT file '%s'\n", job->lutfname);
+ if ((i = ctx->Get3DColorTable(buf, job->lutfname))) {
+ ERROR("Unable to open LUT file '%s' (%d)\n", job->lutfname, i);
mitsu70x_cleanup_job(job);
return CUPS_BACKEND_CANCEL;
}