Replace asprintf() by xasprintf().

This commit is contained in:
Guus Sliepen 2009-09-08 18:18:36 +02:00
parent 3e55dc77f4
commit 73d77dd416
13 changed files with 52 additions and 51 deletions

View file

@ -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");