Page MenuHomeFreeBSD

D41411.diff
No OneTemporary

D41411.diff

diff --git a/usr.sbin/efitable/efitable.c b/usr.sbin/efitable/efitable.c
--- a/usr.sbin/efitable/efitable.c
+++ b/usr.sbin/efitable/efitable.c
@@ -28,7 +28,6 @@
#include <sys/efiio.h>
#include <sys/param.h>
#include <sys/stat.h>
-#include <err.h>
#include <fcntl.h>
#include <getopt.h>
#include <stdbool.h>
@@ -208,7 +207,8 @@
xo_close_list("entries");
xo_close_container("esrt");
- xo_finish();
+ if (xo_finish() < 0)
+ xo_err(EX_IOERR, "stdout");
}
static void
@@ -226,7 +226,8 @@
"{:memory_protection_attribute/%#lx}\n",
prop->memory_protection_attribute);
xo_close_container("prop");
- xo_finish();
+ if (xo_finish() < 0)
+ xo_err(EX_IOERR, "stdout");
}
static void usage(void)

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 7:07 AM (17 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16080795
Default Alt Text
D41411.diff (719 B)

Event Timeline