summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pnmshow.c')
-rw-r--r--examples/pnmshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pnmshow.c b/examples/pnmshow.c
index e41ad4e..b8481f8 100644
--- a/examples/pnmshow.c
+++ b/examples/pnmshow.c
@@ -36,7 +36,7 @@ int main(int argc,char** argv)
/* get width & height */
sscanf(buffer,"%d %d",&width,&height);
- fprintf(stderr,"Got width %d and height %d.\n",width,height);
+ rfbLog("Got width %d and height %d.\n",width,height);
fgets(buffer,1024,in);
/* vncviewers have problems with widths which are no multiple of 4. */
OpenPOWER on IntegriCloud