diff options
author | Andrew Jones <drjones@redhat.com> | 2015-11-20 12:31:52 -0500 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-11-24 16:00:36 +0900 |
commit | 65a15228b570ee5821e2dec0ad610f32d2b20714 (patch) | |
tree | f0ce11b0bfa9a8355b85d069bbd9c1f899400cb0 | |
parent | e0e7a11783c1b780d90d4b8b02f2dedcc1f6c8e1 (diff) |
kexec/fs2dt: s/diabled/disabled/
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/fs2dt.c | 10 |
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; |