summaryrefslogtreecommitdiff
path: root/psi/dwmainc.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2018-02-02 11:17:19 +0000
committerKen Sharp <ken.sharp@artifex.com>2018-02-02 11:17:19 +0000
commit84370aa9d391c37eccd467760c471e99e355a8ec (patch)
treea20f0ced54f91017528e7c24d0c72216c38d4662 /psi/dwmainc.c
parent1552615d4ae39a50a5f7bb40e5f481919ef0cb58 (diff)
downloadghostpdl-84370aa9d391c37eccd467760c471e99e355a8ec.tar.gz
Fix some debug prints - scanbuild warning fix
The number of parameters and number of format specifiers didn't match, this would only be apparent when built with DISPLAY_DEBUG defined.
Diffstat (limited to 'psi/dwmainc.c')
-rw-r--r--psi/dwmainc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psi/dwmainc.c b/psi/dwmainc.c
index 40b4ed1d1..ac0a09170 100644
--- a/psi/dwmainc.c
+++ b/psi/dwmainc.c
@@ -408,7 +408,7 @@ int display_presize(void *handle, void *device, int width, int height,
{
IMAGE *img;
#ifdef DISPLAY_DEBUG
- fprintf(stdout, "display_presize(0x%x 0x%x, %d, %d, %d, %d, %ld)\n",
+ fprintf(stdout, "display_presize(0x%x 0x%x, %d, %d, %d, %ld)\n",
handle, device, width, height, raster, format);
#endif
img = image_find(handle, device);
@@ -424,7 +424,7 @@ int display_size(void *handle, void *device, int width, int height,
{
IMAGE *img;
#ifdef DISPLAY_DEBUG
- fprintf(stdout, "display_size(0x%x 0x%x, %d, %d, %d, %d, %ld, 0x%x)\n",
+ fprintf(stdout, "display_size(0x%x 0x%x, %d, %d, %d, %ld, 0x%x)\n",
handle, device, width, height, raster, format, pimage);
#endif
img = image_find(handle, device);