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