Index: trunk/pswarp/src/pswarpDefineSkycell.c
===================================================================
--- trunk/pswarp/src/pswarpDefineSkycell.c	(revision 20578)
+++ trunk/pswarp/src/pswarpDefineSkycell.c	(revision 20643)
@@ -72,5 +72,5 @@
     skyConfig->arguments = psMemIncrRefCounter(config->arguments);
 
-    format = pmConfigCameraFormatFromHeader (NULL, NULL, skyConfig, phu, false);
+    format = pmConfigCameraFormatFromHeader (NULL, NULL, NULL, skyConfig, phu, false);
     if (!format) {
         psError(PS_ERR_IO, false, "Failed to read CCD format from %s\n", realName);
@@ -95,5 +95,5 @@
     // load the given filerule (from config->camera) and bind it to the fpa
     // the returned file is just a view to the entry on config->files
-    file = pmFPAfileDefineInput (skyConfig, fpa, filename);
+    file = pmFPAfileDefineInput (skyConfig, fpa, NULL, filename);
     if (!file) {
         psError(PS_ERR_IO, false, "file %s not defined\n", filename);
