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

@ -71,7 +71,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);