mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix missing err() format string.
This commit is contained in:
parent
b920ab488c
commit
9de4b9861e
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ get_survey_stats(int s, const char *ifname, HAL_CHANNEL_SURVEY *hs)
|
|||
strncpy(atd.ad_name, ifname, sizeof(atd.ad_name));
|
||||
|
||||
if (ioctl(s, SIOCGATHDIAG, &atd) < 0) {
|
||||
err(1, atd.ad_name);
|
||||
err(1, "ioctl: %s", atd.ad_name);
|
||||
return (0);
|
||||
}
|
||||
return (1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue