summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/Modules/cap.c4
-rw-r--r--Src/Modules/zftp.c2
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e5b074e22..29599a59f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-30  Peter Stephenson  <pws@csr.com>
+
+	* Richard Hartmann: 27440: Src/Modules/cap.c, Src/Modules/zftp.c:
+	typos in warnings.
+
 2009-11-24  Peter Stephenson  <pws@csr.com>
 
 	* Baptiste Daroussin: 27431: Completion/Unix/Command/_make: Fix
@@ -12396,5 +12401,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4824 $
+* $Revision: 1.4825 $
 *****************************************************
diff --git a/Src/Modules/cap.c b/Src/Modules/cap.c
index 0b7752027..c79c9f07c 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 0dc94866a..f637d37dc 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);