From: Andrew Jones <drjones@redhat.com>
To: kexec@lists.infradead.org
Subject: [PATCH 2/4] kexec/fs2dt: s/diabled/disabled/
Date: Fri, 20 Nov 2015 12:31:52 -0500 [thread overview]
Message-ID: <1448040714-19841-3-git-send-email-drjones@redhat.com> (raw)
In-Reply-To: <1448040714-19841-1-git-send-email-drjones@redhat.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
---
kexec/fs2dt.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/kexec/fs2dt.c b/kexec/fs2dt.c
index 0ea785ff4cf80..9392e85d6d5f3 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;
--
2.4.3
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2015-11-20 17:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-20 17:31 [PATCH 0/4] [RFT] cleanup /chosen/linux,stdout-path warning Andrew Jones
2015-11-20 17:31 ` [PATCH 1/4] uImage: cleanup some warnings Andrew Jones
2015-11-24 7:00 ` Simon Horman
2015-11-25 17:32 ` Andrew Jones
2015-11-20 17:31 ` Andrew Jones [this message]
2015-11-24 7:00 ` [PATCH 2/4] kexec/fs2dt: s/diabled/disabled/ Simon Horman
2015-11-20 17:31 ` [PATCH 3/4] kexec/fs2dt: cleanup pathname Andrew Jones
2015-11-24 7:01 ` Simon Horman
2015-11-20 17:31 ` [PATCH 4/4] kexec/fs2dt: check for /chosen/stdout-path first Andrew Jones
2015-11-24 7:03 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1448040714-19841-3-git-send-email-drjones@redhat.com \
--to=drjones@redhat.com \
--cc=kexec@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox