Unbreak the build when MAC is not defined

7a2c93b86e removed the use of "error" when MAC was not
defined, resulting in an unused variable error.

Sponsored by: Netflix
Reviewed by: jhb
This commit is contained in:
Andrew Gallatin 2022-12-14 17:33:30 -05:00
parent 2e2a1c3139
commit ac4e3a27ab

View File

@ -145,7 +145,8 @@ soo_write(struct file *fp, struct uio *uio, struct ucred *active_cred,
if (error)
return (error);
#endif
return (sousrsend(so, NULL, uio, NULL, 0, NULL));
error = sousrsend(so, NULL, uio, NULL, 0, NULL);
return (error);
}
static int