diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-09 14:48:31 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-09 14:48:31 +0200 |
commit | 422c34c96dd7e6dcb507747bdbb499e96000aa5f (patch) | |
tree | 1f10f49a07ee3e5494d586e0f1164e7029dad3af /sftp-server.c | |
parent | - (dtucker) [configure.ac defines.h sftp-client.c M sftp-server.c] Add a (diff) | |
download | openssh-422c34c96dd7e6dcb507747bdbb499e96000aa5f.tar.xz openssh-422c34c96dd7e6dcb507747bdbb499e96000aa5f.zip |
- dtucker@cvs.openbsd.org 2008/06/08 17:04:41
[sftp-server.c]
Add case for ENOSYS in errno_to_portable; ok deraadt
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sftp-server.c b/sftp-server.c index f69926164..fbf620989 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-server.c,v 1.81 2008/06/07 21:52:46 djm Exp $ */ +/* $OpenBSD: sftp-server.c,v 1.82 2008/06/08 17:04:41 dtucker Exp $ */ /* * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. * @@ -104,6 +104,9 @@ errno_to_portable(int unixerrno) case EINVAL: ret = SSH2_FX_BAD_MESSAGE; break; + case ENOSYS: + ret = SSH2_FX_OP_UNSUPPORTED; + break; default: ret = SSH2_FX_FAILURE; break; |