From a1623220681e82c506fc6c3fa013aef1eef7f62e Mon Sep 17 00:00:00 2001 From: hailfinger Date: Sat, 16 Jun 2012 00:11:16 +0000 Subject: Remove exit() call from show_id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The only caller is able to check the return code and handle it correctly. Signed-off-by: Niklas Söderlund Acked-by: Carl-Daniel Hailfinger git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1545 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index 379ee8c..0512638 100644 --- a/layout.c +++ b/layout.c @@ -137,7 +137,7 @@ int show_id(uint8_t *bios, int size, int force) "\n\n", mainboard_vendor, mainboard_part, lb_vendor, lb_part); - exit(1); + return 1; } } -- cgit v1.2.1