Merge branch 'master' into 1.1
[tinc] / src / solaris / device.c
index 295a2f8..a258e34 100644 (file)
@@ -99,7 +99,7 @@ bool setup_device(void) {
        }
 
        if(!get_config_string(lookup_config(config_tree, "Interface"), &iface))
-               asprintf(&iface, "tun%d", ppa);
+               xasprintf(&iface, "tun%d", ppa);
 
        device_info = _("Solaris tun device");