1 /*
2 * Copyright (c) 2014-2021 The strace developers.
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7
8 #include "defs.h"
9 #include "xlat/umount_flags.h"
10
11 SYS_FUNC(umount2)
12 {
13 /* target */
14 printpath(tcp, tcp->u_arg[0]);
15 tprint_arg_next();
16
17 /* flags */
18 printflags(umount_flags, tcp->u_arg[1], "MNT_???");
19
20 return RVAL_DECODED;
21 }