Index: /trunk/pswarp/src/pswarpDefineSkycell.c
===================================================================
--- /trunk/pswarp/src/pswarpDefineSkycell.c	(revision 18005)
+++ /trunk/pswarp/src/pswarpDefineSkycell.c	(revision 18006)
@@ -71,5 +71,5 @@
     skyConfig->arguments = psMemIncrRefCounter (config->arguments);
 
-    format = pmConfigCameraFormatFromHeader (skyConfig, phu, false);
+    format = pmConfigCameraFormatFromHeader (NULL, NULL, skyConfig, phu, false);
     if (!format) {
         psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", realName);
