Changeset 23215
- Timestamp:
- Mar 6, 2009, 2:38:06 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfig.c
r21314 r23215 1110 1110 // camera. If we are discovering the camera (config->camera == NULL), then we also load the 1111 1111 // recipe files for the camera. 1112 psMetadata *pmConfigCameraFormatFromHeader(psMetadata **camera, psString *cameraName, psString *formatName, 1113 pmConfig *config, const psMetadata *header, bool readRecipes)1112 psMetadata *pmConfigCameraFormatFromHeader(psMetadata **camera, psString *cameraName, psString *formatName, 1113 pmConfig *config, const psMetadata *header, bool readRecipes) 1114 1114 { 1115 1115 PS_ASSERT_PTR_NON_NULL(config, NULL); … … 1672 1672 // if the object does not exist and create isn't set, then we 1673 1673 // should puke 1674 psError(PM_ERR_SYS, true, "Unable to access file %s ", filename);1674 psError(PM_ERR_SYS, true, "Unable to access file %s: %s", filename, nebErr(server)); 1675 1675 nebServerFree(server); 1676 1676 return NULL; … … 1685 1685 if (trunc) { 1686 1686 if(truncate(path, 0) != 0) { 1687 psError(PS_ERR_IO, true, "Failed to truncate Nebulous file %s (real name %s)\n", filename, path); 1687 psError(PS_ERR_IO, true, "Failed to truncate Nebulous file %s (real name %s)\n", 1688 filename, path); 1688 1689 return NULL; 1689 1690 }
Note:
See TracChangeset
for help on using the changeset viewer.
