aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-11-23 02:49:42 -0800
committerThomas White <taw@physics.org>2013-11-23 02:49:42 -0800
commit470773e8f7a1c46506cf24f281e6971101cfee1b (patch)
treeb860418bce6e4717a55c452ae6f8532161706483 /src/process_image.c
parentc2337f22cfcf84d69f5827759c86a62478ce8c8a (diff)
parent8683aef3880d17c64a10598ff9c2edd1532280cb (diff)
Merge branch 'master' of ssh://git.bitwiz.org.uk/crystfel
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c
index 0e8eedbc..b07e16b6 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -146,7 +146,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
free(image.data);
image.data = data_for_measurement;
- rn = get_current_dir_name();
+ rn = getcwd(NULL, 0);
r = chdir(tmpdir);
if ( r ) {