X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fuml_socket%2Fdevice.c;h=ec9dcb1efa2b7702b1baea71ecf0cb751b0edd39;hb=075e6828a7533e7daa790225f17aa6bb39703278;hp=30194d9cf325b026c930d9bb05f7c1cc51b213d4;hpb=08aabbf9317806bc50a9a6693ca866c8936ce26b;p=meshlink diff --git a/src/uml_socket/device.c b/src/uml_socket/device.c index 30194d9c..ec9dcb1e 100644 --- a/src/uml_socket/device.c +++ b/src/uml_socket/device.c @@ -70,7 +70,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);