summaryrefslogtreecommitdiffstats
path: root/backend_shinkos2145.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-12-17 13:18:11 -0500
committerSolomon Peachy <pizza@shaftnet.org>2019-12-17 13:21:23 -0500
commit13ea55f24d86fafd0dd1e1e556f51c87c09175bd (patch)
tree1cdc1e5e07c7417a88af065812bf46a0170f8a86 /backend_shinkos2145.c
parente337ea72e67233d35f0000b56f9cf924f40c3861 (diff)
downloadselphy_print-13ea55f24d86fafd0dd1e1e556f51c87c09175bd.tar.gz
selphy_print-13ea55f24d86fafd0dd1e1e556f51c87c09175bd.tar.bz2
selphy_print-13ea55f24d86fafd0dd1e1e556f51c87c09175bd.zip
ek6800/s1245: Support generic status queries.
Diffstat (limited to 'backend_shinkos2145.c')
-rw-r--r--backend_shinkos2145.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_shinkos2145.c b/backend_shinkos2145.c
index c776447..bd2a732 100644
--- a/backend_shinkos2145.c
+++ b/backend_shinkos2145.c
@@ -1188,7 +1188,7 @@ static int shinkos2145_query_stats(void *vctx, struct printerstats *stats)
if (sinfonia_query_serno(ctx->dev.dev, ctx->dev.endp_up,
ctx->dev.endp_down, ctx->dev.iface,
- ctx->serial, sizeof(stats->serial)))
+ ctx->serial, sizeof(ctx->serial)))
return CUPS_BACKEND_FAILED;
stats->serial = ctx->serial;