zsh-workers
 help / color / mirror / code / Atom feed
From: Richard Hartmann <richih.mailinglist@gmail.com>
To: zsh-workers@zsh.org
Subject: [PATCH] Fixed some typos
Date: Mon, 30 Nov 2009 04:29:06 +0100	[thread overview]
Message-ID: <2d460de70911291929w65fdfb59n1c7f67e5355e604f@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 40 bytes --]

Hi all,

please see attached.


Richard

[-- Attachment #2: 0001-Fixed-some-typos.patch --]
[-- Type: text/x-diff, Size: 1577 bytes --]

From ceb7293560d46a830967a549ba7ac1ce6859150e Mon Sep 17 00:00:00 2001
From: Richard Hartmann <richih.mailinglist@gmail.com>
Date: Mon, 30 Nov 2009 02:52:40 +0100
Subject: [PATCH] Fixed some typos

---
 Src/Modules/cap.c  |    4 ++--
 Src/Modules/zftp.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Src/Modules/cap.c b/Src/Modules/cap.c
index 0b77520..c79c9f0 100644
--- a/Src/Modules/cap.c
+++ b/Src/Modules/cap.c
@@ -45,7 +45,7 @@ bin_cap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func))
 	    return 1;
 	}
 	if(cap_set_proc(caps)) {
-	    zwarnnam(nam, "can't change capabilites: %e", errno);
+	    zwarnnam(nam, "can't change capabilities: %e", errno);
 	    ret = 1;
 	}
     } else {
@@ -55,7 +55,7 @@ bin_cap(char *nam, char **argv, UNUSED(Options ops), UNUSED(int func))
 	if(caps)
 	    result = cap_to_text(caps, &length);
 	if(!caps || !result) {
-	    zwarnnam(nam, "can't get capabilites: %e", errno);
+	    zwarnnam(nam, "can't get capabilities: %e", errno);
 	    ret = 1;
 	} else
 	    puts(result);
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index 0dc9486..f637d37 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -2197,7 +2197,7 @@ zftp_login(char *name, char **args, UNUSED(int flags))
 	int cnt;
 	for (cnt = 0; *args; args++)
 	    cnt++;
-	zwarnnam(name, "warning: %d comand arguments not used\n", cnt);
+	zwarnnam(name, "warning: %d command arguments not used\n", cnt);
     }
     zfstatusp[zfsessno] |= ZFST_LOGI;
     zfsetparam("ZFTP_USER", ztrdup(user), ZFPM_READONLY);
-- 
1.6.5.2


                 reply	other threads:[~2009-11-30  3:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2d460de70911291929w65fdfb59n1c7f67e5355e604f@mail.gmail.com \
    --to=richih.mailinglist@gmail.com \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).