Replace it by newly created return mechanism.
Signed-off-by: Tadas Slotkus devtadas@gmail.com --- chipset_enable.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/chipset_enable.c b/chipset_enable.c index f6c5d81..ee005af 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -861,7 +861,7 @@ static int enable_flash_sb400(struct pci_dev *dev, const char *name)
if (!smbusdev) { msg_perr("ERROR: SMBus device not found. Aborting.\n"); - exit(1); + return ERROR_FATAL; }
/* Enable some SMBus stuff. */