Use getcwd() instead of get_current_dir_name().
[tinc] / src / dummy_device.c
2011-12-04 Guus SliepenAllow linking with multiple device drivers.