diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-07 06:56:10 +0100 | 
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-07 06:56:10 +0100 | 
| commit | 43f33c72804e63306580755049c09d5a81ad83e3 (patch) | |
| tree | 805caeb00a832ed96a331907987d4e6a2056a391 /backend/pixma/pixma_common.c | |
| parent | 0f86c5490ea7c2218a4394bf4c21bf3f9267a47c (diff) | |
| parent | 6427d36e269d8c14e6bc55373102a4ebc971ca38 (diff) | |
Merge branch 'release/debian/1.1.1-1'debian/1.1.1-1
Diffstat (limited to 'backend/pixma/pixma_common.c')
| -rw-r--r-- | backend/pixma/pixma_common.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/backend/pixma/pixma_common.c b/backend/pixma/pixma_common.c index 6bce4bc..24912b8 100644 --- a/backend/pixma/pixma_common.c +++ b/backend/pixma/pixma_common.c @@ -968,16 +968,16 @@ pixma_read_image (pixma_t * s, void *buf, unsigned len)                s->last_source = s->param->source;                if ((s->cur_image_size != s->param->image_size) && !s->param->mode_jpeg)                  { -                  pixma_dbg (1, "WARNING:image size mismatches\n"); -                  pixma_dbg (1, +                  PDBG (pixma_dbg (1, "WARNING:image size mismatches\n")); +                  PDBG (pixma_dbg (1,                         "    %"PRIu64" expected (%d lines) but %"PRIu64" received (%"PRIu64" lines)\n",                         s->param->image_size, s->param->h,                         s->cur_image_size, -                       s->cur_image_size / s->param->line_size); +                       s->cur_image_size / s->param->line_size));                    if ((s->cur_image_size % s->param->line_size) != 0)                      { -                      pixma_dbg (1, -                     "BUG:received data not multiple of line_size\n"); +                      PDBG (pixma_dbg (1, +                           "BUG:received data not multiple of line_size\n"));                      }                  }                if ((s->cur_image_size < s->param->image_size) && !s->param->mode_jpeg) | 
