FreeBSD Bugzilla – Attachment 219771 Details for
Bug 186251
authpf(8) always fails with "error removing stale rulesets" on 10.0-RELEASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for authpf.c
authpf.c-diff (text/plain), 565 bytes, created by
Per Andersson
on 2020-11-17 16:37:37 UTC
(
hide
)
Description:
patch for authpf.c
Filename:
MIME Type:
Creator:
Per Andersson
Created:
2020-11-17 16:37:37 UTC
Size:
565 bytes
patch
obsolete
>--- authpf.c-ORIG 2019-09-02 17:22:50.993786000 +0200 >+++ authpf.c 2020-11-17 17:25:51.984522000 +0100 >@@ -650,7 +650,7 @@ > memset(&prs, 0, sizeof(prs)); > strlcpy(prs.path, anchorname, sizeof(prs.path)); > if (ioctl(dev, DIOCGETRULESETS, &prs)) { >- if (errno == EINVAL) >+ if (errno == ENOENT) > return (0); > else > return (1); >@@ -716,7 +716,7 @@ > goto no_mem; > snprintf(prs->path, sizeof(prs->path), "%s/%s", an, rs); > if (ioctl(dev, DIOCGETRULESETS, prs)) { >- if (errno != EINVAL) >+ if (errno != ENOENT) > goto cleanup; > errno = 0; > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186251
: 219771