Sang Woo Kim commented on a discussion on freebsd/sys/kern/sys_generic.c: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/153#note_155914 > + return (EBADF); > + if (iop != NULL) { > + /* not libbsd-backed: it has no struct file */ > + *fpp = NULL; > + return (0); > + } > + if (only_user) > + error = fget_only_user(fdp, bsd_fd, &cap_event_rights, fpp); > + else > + error = fget_unlocked(td, bsd_fd, &cap_event_rights, fpp); > + if (__predict_false(error != 0)) > + rtems_bsd_libio_iop_drop(libio_fd); > + return (error); > +} > +#endif /* __rtems__ */ > + Fixed — the blank line is inside the guard now. -- View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/153#note_155914 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-8dptjb91yf99s8hjqc7qzmtum-k/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
