From 350e34f92422914427672ebebbaf89824fed4bae Mon Sep 17 00:00:00 2001 From: Jan S Date: Fri, 9 May 2014 23:38:38 +0200 Subject: [PATCH 1/2] typo fix --- cpu/native/native_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/native/native_cpu.c b/cpu/native/native_cpu.c index 9df3d6e805..2a408e172e 100644 --- a/cpu/native/native_cpu.c +++ b/cpu/native/native_cpu.c @@ -73,7 +73,7 @@ int reboot_arch(int mode) err(EXIT_FAILURE, "reboot: execve"); } - errx(EXIT_FAILURE, "reboot: this should not habe been reached"); + errx(EXIT_FAILURE, "reboot: this should not have been reached"); return -1; } From e7cf6bf745e13610bc2465942a80859e34419c60 Mon Sep 17 00:00:00 2001 From: Jan S Date: Fri, 9 May 2014 23:45:07 +0200 Subject: [PATCH 2/2] removed unreachable code --- cpu/native/native_cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpu/native/native_cpu.c b/cpu/native/native_cpu.c index 2a408e172e..629eeb5a3b 100644 --- a/cpu/native/native_cpu.c +++ b/cpu/native/native_cpu.c @@ -74,8 +74,6 @@ int reboot_arch(int mode) } errx(EXIT_FAILURE, "reboot: this should not have been reached"); - - return -1; } /**