strace/statfs64.c

20 lines
358 B
C
Raw Normal View History

/*
* Copyright (c) 2014-2018 The strace developers.
* All rights reserved.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#include "defs.h"
SYS_FUNC(statfs64)
{
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);
tprintf(", %" PRI_klu ", ", tcp->u_arg[1]);
} else {
print_struct_statfs64(tcp, tcp->u_arg[2], tcp->u_arg[1]);
}
return 0;
}