diff options
author | Olaf Hering <olaf@aepfle.de> | 2012-12-13 16:48:48 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-12-14 22:31:04 +0900 |
commit | 5f15eaafe79f1ca44015821e8134d15554344cb0 (patch) | |
tree | 53d0ab3db6b2807df28a692f56358c9ee06880a2 | |
parent | d5efc524567d675759c82aa7bbb94bab8fd678f8 (diff) |
fix message and indenting in putnode in ppc64
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/ppc64/fs2dt.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/kexec/arch/ppc64/fs2dt.c b/kexec/arch/ppc64/fs2dt.c index f02540d..9750c34 100644 --- a/kexec/arch/ppc64/fs2dt.c +++ b/kexec/arch/ppc64/fs2dt.c @@ -602,13 +602,11 @@ static void putnode(void) strncat(filename, "linux,stdout-path", MAXPATH - strlen(filename) - 1); fd = open(filename, O_RDONLY); if (fd == -1) { - printf("Unable to find %s, printing from purgatory is diabled\n", - filename); + printf("Unable to find %s, printing from purgatory is disabled\n", filename); goto no_debug; } if (fstat(fd, &statbuf)) { - printf("Unable to stat %s, printing from purgatory is diabled\n", - filename); + printf("Unable to stat %s, printing from purgatory is disabled\n", filename); close(fd); goto no_debug; @@ -627,13 +625,11 @@ static void putnode(void) strncat(filename, "/compatible", MAXPATH - strlen(filename) - 1); fd = open(filename, O_RDONLY); if (fd == -1) { - printf("Unable to find %s printing from purgatory is diabled\n", - filename); + printf("Unable to find %s printing from purgatory is disabled\n", filename); goto no_debug; } if (fstat(fd, &statbuf)) { - printf("Unable to stat %s printing from purgatory is diabled\n", - filename); + printf("Unable to stat %s printing from purgatory is disabled\n", filename); close(fd); goto no_debug; } |