mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
Fix a copy/paste whitespace error.
This commit is contained in:
parent
7323776b01
commit
5d253e418f
1 changed files with 3 additions and 3 deletions
|
|
@ -4699,10 +4699,10 @@ kern_posix_fallocate(struct thread *td, int fd, off_t offset, off_t len)
|
|||
error = ENODEV;
|
||||
goto out;
|
||||
}
|
||||
if ((fp->f_flag & FWRITE) == 0) {
|
||||
error = EBADF;
|
||||
if ((fp->f_flag & FWRITE) == 0) {
|
||||
error = EBADF;
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
vp = fp->f_vnode;
|
||||
if (vp->v_type != VREG) {
|
||||
error = ENODEV;
|
||||
|
|
|
|||
Loading…
Reference in a new issue