diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-11-22 22:23:05 -0800 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-11-22 22:23:05 -0800 |
commit | 15119f0e10d93bfad5214e042ca437b86159b30f (patch) | |
tree | fccd33f189005c2332ebedc37d878bc2810c0977 /src/process_image.c | |
parent | d055c5c8f2e489bae2d34d567d6e2457910b4c51 (diff) |
Use getcwd() instead of get_current_dir()
Diffstat (limited to 'src/process_image.c')
-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 ) { |