Index: branches/pap/ppImage/src/ppImagePhotom.c
===================================================================
--- branches/pap/ppImage/src/ppImagePhotom.c	(revision 23580)
+++ branches/pap/ppImage/src/ppImagePhotom.c	(revision 23597)
@@ -39,5 +39,5 @@
                 // This is likely a data quality issue
                 // XXX Split into multiple cases using error codes?
-                psErrorStackPrint("Unable to perform photometry on image");
+                psErrorStackPrint(stderr, "Unable to perform photometry on image");
                 psWarning("Unable to perform photometry on image --- suspect bad data quality.");
                 if (stats && psMetadataLookupS32(NULL, stats, "QUALITY") == 0) {
