Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150505247
D41411.id125900.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
729 B
Referenced Files
None
Subscribers
None
D41411.id125900.diff
View Options
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
@@ -31,7 +31,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>
@@ -211,7 +210,8 @@
xo_close_list("entries");
xo_close_container("esrt");
- xo_finish();
+ if (xo_finish() < 0)
+ xo_err(EXIT_FAILURE, "stdout");
}
static void
@@ -229,7 +229,8 @@
"{:memory_protection_attribute/%#lx}\n",
prop->memory_protection_attribute);
xo_close_container("prop");
- xo_finish();
+ if (xo_finish() < 0)
+ xo_err(EXIT_FAILURE, "stdout");
}
static void usage(void)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 2, 7:34 PM (3 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30734720
Default Alt Text
D41411.id125900.diff (729 B)
Attached To
Mode
D41411: efitable: Complete libxo transition.
Attached
Detach File
Event Timeline
Log In to Comment