summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2014-01-19 15:25:34 +1100
committerDarren Tucker <dtucker@zip.com.au>2014-01-19 15:25:34 +1100
commit2aca159d05f9e7880d1d8f1ce49a218840057f53 (patch)
tree27ab7de48ee2802d85aad5cb1af12e383c577471
parent841f7da89ae8b367bb502d61c5c41916c6e7ae4c (diff)
- dtucker@cvs.openbsd.org 2014/01/17 06:23:24
[sftp-server.c] fix log message statvfs. ok djm
-rw-r--r--ChangeLog6
-rw-r--r--sftp-server.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d9b9d10e..f61670097 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
120140119
2 - (dtucker) OpenBSD CVS Sync
3 - dtucker@cvs.openbsd.org 2014/01/17 06:23:24
4 [sftp-server.c]
5 fix log message statvfs. ok djm
6
120140118 720140118
2 - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch 8 - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch
3 from vinschen at redhat.com 9 from vinschen at redhat.com
diff --git a/sftp-server.c b/sftp-server.c
index ad158f8e2..b8eb59c36 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-server.c,v 1.102 2013/10/17 00:30:13 djm Exp $ */ 1/* $OpenBSD: sftp-server.c,v 1.103 2014/01/17 06:23:24 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
4 * 4 *
@@ -1256,8 +1256,8 @@ process_extended_statvfs(u_int32_t id)
1256 struct statvfs st; 1256 struct statvfs st;
1257 1257
1258 path = get_string(NULL); 1258 path = get_string(NULL);
1259 debug3("request %u: statfs", id); 1259 debug3("request %u: statvfs", id);
1260 logit("statfs \"%s\"", path); 1260 logit("statvfs \"%s\"", path);
1261 1261
1262 if (statvfs(path, &st) != 0) 1262 if (statvfs(path, &st) != 0)
1263 send_status(id, errno_to_portable(errno)); 1263 send_status(id, errno_to_portable(errno));