summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kexec/fs2dt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexec/fs2dt.c b/kexec/fs2dt.c
index 0ea785f..9392e85 100644
--- a/kexec/fs2dt.c
+++ b/kexec/fs2dt.c
@@ -659,12 +659,12 @@ static void putnode(void)
snprintf(filename, MAXPATH, "%slinux,stdout-path", pathname);
fd = open(filename, O_RDONLY);
if (fd == -1) {
- printf("Unable to find %s, printing from purgatory is diabled\n",
+ 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",
+ printf("Unable to stat %s, printing from purgatory is disabled\n",
filename);
close(fd);
goto no_debug;
@@ -680,19 +680,19 @@ static void putnode(void)
result = read(fd, buff, statbuf.st_size);
close(fd);
if (result <= 0) {
- printf("Unable to read %s, printing from purgatory is diabled\n",
+ printf("Unable to read %s, printing from purgatory is disabled\n",
filename);
goto no_debug;
}
snprintf(filename, MAXPATH, "/proc/device-tree/%s/compatible", buff);
fd = open(filename, O_RDONLY);
if (fd == -1) {
- printf("Unable to find %s printing from purgatory is diabled\n",
+ 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",
+ printf("Unable to stat %s printing from purgatory is disabled\n",
filename);
close(fd);
goto no_debug;