From 65a15228b570ee5821e2dec0ad610f32d2b20714 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 20 Nov 2015 12:31:52 -0500 Subject: kexec/fs2dt: s/diabled/disabled/ Signed-off-by: Andrew Jones Signed-off-by: Simon Horman --- kexec/fs2dt.c | 10 +++++----- 1 file 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; -- cgit