aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index cb4ee084..8caf613d 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -497,7 +497,8 @@ int main(int argc, char *argv[])
iargs.det = get_detector_geometry(geom_filename, iargs.beam);
if ( iargs.det == NULL ) {
- ERROR("Failed to read detector geometry from '%s'\n", optarg);
+ ERROR("Failed to read detector geometry from '%s'\n",
+ geom_filename);
return 1;
}