X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fuml_socket%2Fdevice.c;h=de0b4a556a310a5a6ebae534963d968b1c9523a4;hp=62a6f2eb65a762f4a940a7e77b13e4dddf91fc69;hb=73d77dd416b87b7c4e9b6aa450f64846235cd2b4;hpb=78fc59e994c764d072bf0045177f690a378d1308 diff --git a/src/uml_socket/device.c b/src/uml_socket/device.c index 62a6f2eb..de0b4a55 100644 --- a/src/uml_socket/device.c +++ b/src/uml_socket/device.c @@ -71,7 +71,7 @@ bool setup_device(void) cp(); if(!get_config_string(lookup_config(config_tree, "Device"), &device)) - asprintf(&device, LOCALSTATEDIR "/run/%s.umlsocket", identname); + xasprintf(&device, LOCALSTATEDIR "/run/%s.umlsocket", identname); get_config_string(lookup_config(config_tree, "Interface"), &iface);