style(9): clean up whitespace
MFC after: 3 days
This commit is contained in:
parent
2229fa01bc
commit
c5cf639fd9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310669
@ -1640,20 +1640,20 @@ pfl_refresh(void)
|
||||
static int
|
||||
altq_is_enabled(int pfdev)
|
||||
{
|
||||
struct pfioc_altq pa;
|
||||
struct pfioc_altq pa;
|
||||
|
||||
errno = 0;
|
||||
if (ioctl(pfdev, DIOCGETALTQS, &pa)) {
|
||||
if (errno == ENODEV) {
|
||||
if (ioctl(pfdev, DIOCGETALTQS, &pa)) {
|
||||
if (errno == ENODEV) {
|
||||
syslog(LOG_INFO, "No ALTQ support in kernel\n"
|
||||
"ALTQ related functions disabled\n");
|
||||
return (0);
|
||||
} else
|
||||
syslog(LOG_ERR, "DIOCGETALTQS returned an error: %s",
|
||||
return (0);
|
||||
} else
|
||||
syslog(LOG_ERR, "DIOCGETALTQS returned an error: %s",
|
||||
strerror(errno));
|
||||
return (-1);
|
||||
}
|
||||
return (1);
|
||||
}
|
||||
return (1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user