Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH] Fixed some typos



Hi all,

please see attached.


Richard
From ceb7293560d46a830967a549ba7ac1ce6859150e Mon Sep 17 00:00:00 2001
From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
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



Messages sorted by: Reverse Date, Date, Thread, Author