* [PATCH] Fixed some typos
@ 2009-11-30 3:29 Richard Hartmann
0 siblings, 0 replies; only message in thread
From: Richard Hartmann @ 2009-11-30 3:29 UTC (permalink / raw)
To: zsh-workers
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-30 3:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-30 3:29 [PATCH] Fixed some typos Richard Hartmann
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).