]> git.meshlink.io Git - meshlink/blobdiff - src/uml_socket/device.c
Merge branch 'master' into 1.1
[meshlink] / src / uml_socket / device.c
index 30194d9cf325b026c930d9bb05f7c1cc51b213d4..ec9dcb1efa2b7702b1baea71ecf0cb751b0edd39 100644 (file)
@@ -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);