mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 07:38:06 -05:00
Fixing trivial warnings spotted by Mingw-2.0.0/gcc-3.2:
psftp.c: In function `sftp_cmd_chmod': psftp.c:835: warning: too many arguments for format [originally from svn r2333]
This commit is contained in:
parent
6f5012dfa6
commit
c399f8381f
2
psftp.c
2
psftp.c
@ -832,7 +832,7 @@ int sftp_cmd_chmod(struct sftp_command *cmd)
|
||||
if (!(subset & 06777) && (perms &~ subset)) {
|
||||
printf("chmod: file mode '%.*s' contains no user/group/other"
|
||||
" specifier and permissions other than 't' \n",
|
||||
strcspn(modebegin, ","), modebegin, *mode);
|
||||
strcspn(modebegin, ","), modebegin);
|
||||
return 0;
|
||||
}
|
||||
perms &= subset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user