diff options
-rw-r--r-- | src/process_image.c | 2 |
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 ) { |