mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 09:32:27 +02:00
util/nvmutil: fix code formatting on xopen
it still had some leftovers from the old macro-style implementation. it still compiled, but this patch fixes the function properly. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -174,9 +174,9 @@ openFiles(void)
|
|||||||
void
|
void
|
||||||
xopen(int *f, const char *l, int p, struct stat *st)
|
xopen(int *f, const char *l, int p, struct stat *st)
|
||||||
{
|
{
|
||||||
if ((*f = open(l, p)) == -1) \
|
if ((*f = open(l, p)) == -1)
|
||||||
err(set_err(ECANCELED), "%s", l); \
|
err(set_err(ECANCELED), "%s", l);
|
||||||
if (fstat(*f, st) == -1) \
|
if (fstat(*f, st) == -1)
|
||||||
err(set_err(ECANCELED), "%s", l);
|
err(set_err(ECANCELED), "%s", l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user