]> granicus.if.org Git - strace/blob - statfs64.c
Add support for long options
[strace] / statfs64.c
1 /*
2  * Copyright (c) 2014-2018 The strace developers.
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: LGPL-2.1-or-later
6  */
7
8 #include "defs.h"
9
10 SYS_FUNC(statfs64)
11 {
12         if (entering(tcp)) {
13                 printpath(tcp, tcp->u_arg[0]);
14                 tprintf(", %" PRI_klu ", ", tcp->u_arg[1]);
15         } else {
16                 print_struct_statfs64(tcp, tcp->u_arg[2], tcp->u_arg[1]);
17         }
18         return 0;
19 }