- dtucker@cvs.openbsd.org 2014/01/17 06:23:24
[sftp-server.c] fix log message statvfs. ok djm
This commit is contained in:
parent
841f7da89a
commit
2aca159d05
|
@ -1,3 +1,9 @@
|
||||||
|
20140119
|
||||||
|
- (dtucker) OpenBSD CVS Sync
|
||||||
|
- dtucker@cvs.openbsd.org 2014/01/17 06:23:24
|
||||||
|
[sftp-server.c]
|
||||||
|
fix log message statvfs. ok djm
|
||||||
|
|
||||||
20140118
|
20140118
|
||||||
- (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch
|
- (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch
|
||||||
from vinschen at redhat.com
|
from vinschen at redhat.com
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: sftp-server.c,v 1.102 2013/10/17 00:30:13 djm Exp $ */
|
/* $OpenBSD: sftp-server.c,v 1.103 2014/01/17 06:23:24 dtucker Exp $ */
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
|
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -1256,8 +1256,8 @@ process_extended_statvfs(u_int32_t id)
|
||||||
struct statvfs st;
|
struct statvfs st;
|
||||||
|
|
||||||
path = get_string(NULL);
|
path = get_string(NULL);
|
||||||
debug3("request %u: statfs", id);
|
debug3("request %u: statvfs", id);
|
||||||
logit("statfs \"%s\"", path);
|
logit("statvfs \"%s\"", path);
|
||||||
|
|
||||||
if (statvfs(path, &st) != 0)
|
if (statvfs(path, &st) != 0)
|
||||||
send_status(id, errno_to_portable(errno));
|
send_status(id, errno_to_portable(errno));
|
||||||
|
|
Loading…
Reference in New Issue