diff options
Diffstat (limited to 'util/e6400-flash-unlock')
-rw-r--r-- | util/e6400-flash-unlock/e6400_flash_unlock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/e6400-flash-unlock/e6400_flash_unlock.c b/util/e6400-flash-unlock/e6400_flash_unlock.c index 88ba2e98..0bffef6d 100644 --- a/util/e6400-flash-unlock/e6400_flash_unlock.c +++ b/util/e6400-flash-unlock/e6400_flash_unlock.c @@ -63,9 +63,7 @@ volatile uint8_t *rcba_mmio; int main(int argc, char *argv[]) { - int devmemfd; - (void)argc; - (void)argv; + int devmemfd; (void)argc; (void)argv; if ((ioperm(EC_INDEX, 2, 1) == -1) || (ioperm(SMI_EN_REG, 4, 1) == -1)) err(errno, "Could not access IO ports"); @@ -92,6 +90,7 @@ main(int argc, char *argv[]) set_gbl_smi_en(1); printf("SMIs enabled, you can now shutdown the system.\n"); } + return errno; } |