1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

Richard Hartmann: 27440: typos in module warnings

This commit is contained in:
Peter Stephenson 2009-11-30 09:59:40 +00:00
parent b7c0ab63f3
commit 1d5a54270b
3 changed files with 9 additions and 4 deletions

View file

@ -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 $
*****************************************************

View file

@ -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);

View file

@ -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);