Dmitry V. Levin | 9a0dd74 | 2014-09-22 00:17:42 +0000 | [diff] [blame] | 1 | #include "defs.h" |
Dmitry V. Levin | 9a0dd74 | 2014-09-22 00:17:42 +0000 | [diff] [blame] | 2 | |
Dmitry V. Levin | a0bd374 | 2015-04-07 01:36:50 +0000 | [diff] [blame] | 3 | SYS_FUNC(statfs) |
Dmitry V. Levin | 9a0dd74 | 2014-09-22 00:17:42 +0000 | [diff] [blame] | 4 | { |
5 | if (entering(tcp)) { | ||||
6 | printpath(tcp, tcp->u_arg[0]); | ||||
7 | tprints(", "); | ||||
8 | } else { | ||||
Dmitry V. Levin | 67c2f67 | 2016-04-26 00:21:26 +0000 | [diff] [blame] | 9 | print_struct_statfs(tcp, tcp->u_arg[1]); |
Dmitry V. Levin | 9a0dd74 | 2014-09-22 00:17:42 +0000 | [diff] [blame] | 10 | } |
11 | return 0; | ||||
12 | } |