blob: 00dd04c4e49165570879bd4e5b2f1a72b4358750 [file] [log] [blame]
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +00001#include "defs.h"
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +00002
Dmitry V. Levina0bd3742015-04-07 01:36:50 +00003SYS_FUNC(statfs)
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +00004{
5 if (entering(tcp)) {
6 printpath(tcp, tcp->u_arg[0]);
7 tprints(", ");
8 } else {
Dmitry V. Levin67c2f672016-04-26 00:21:26 +00009 print_struct_statfs(tcp, tcp->u_arg[1]);
Dmitry V. Levin9a0dd742014-09-22 00:17:42 +000010 }
11 return 0;
12}