summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/arch/ppc64/fs2dt.c12
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;
}