Replace asprintf() by xasprintf().
This commit is contained in:
parent
3e55dc77f4
commit
73d77dd416
13 changed files with 52 additions and 51 deletions
|
|
@ -100,7 +100,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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue