aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-22 17:51:05 +0200
committerThomas White <taw@physics.org>2014-10-23 17:02:33 +0200
commit48e9dee193b537d6efa1ddeac47e7ea8c0d2f1f4 (patch)
tree0ec3c77d10c3fe1b8298ea351d292dd44e84d4c2 /src
parentd6182fc9c905daefc31144c57ba82db80b419874 (diff)
Fix an error message
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;
}