mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
wifi: fix unused-result warning in log_ENOMEM()
Use log_vENOMEM() as we don't use the return-code. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
parent
78cf818484
commit
e2781c0a7a
1 changed files with 1 additions and 1 deletions
|
@ -1679,7 +1679,7 @@ static int supplicant_status_fn(struct wpas *w,
|
|||
log_debug("local p2p-address is: %s", p2p_mac);
|
||||
t = strdup(p2p_mac);
|
||||
if (!t) {
|
||||
log_ENOMEM();
|
||||
log_vENOMEM();
|
||||
} else {
|
||||
free(s->p2p_mac);
|
||||
s->p2p_mac = t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue