Index: trunk/psphot/src/psphotTest.c
===================================================================
--- trunk/psphot/src/psphotTest.c	(revision 28405)
+++ trunk/psphot/src/psphotTest.c	(revision 29936)
@@ -137,5 +137,5 @@
     psMetadataItem *mdi;
 
-    psMetadataConfigWrite (header, argv[2]);
+    psMetadataConfigWrite (header, argv[2], NULL);
 
     // attempt to write image with NAXIS = 0
