mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
libreboot-utils: unified EINTR loop handling
absolutely unified. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -33,7 +33,7 @@ open_gbe_file(void)
|
||||
|
||||
f->gbe_fd = -1;
|
||||
|
||||
open_on_eintr(f->fname, &f->gbe_fd,
|
||||
open_file_on_eintr(f->fname, &f->gbe_fd,
|
||||
O_NOFOLLOW | O_CLOEXEC | O_NOCTTY,
|
||||
((cmd->flags & O_ACCMODE) == O_RDONLY) ? 0400 : 0600,
|
||||
&f->gbe_st);
|
||||
|
||||
Reference in New Issue
Block a user