]> granicus.if.org Git - strace/blobdiff - umount.c
mem: decode hugetlb page size in mmap flags
[strace] / umount.c
index b015f83871feba3bcea6c7e3f3e2d76e717c9ab0..8fafeabe22b88d91e110be3a95d0377846400ad2 100644 (file)
--- a/umount.c
+++ b/umount.c
@@ -1,17 +1,11 @@
 #include "defs.h"
-
-#define MNT_FORCE      0x00000001      /* Attempt to forcibily umount */
-#define MNT_DETACH     0x00000002      /* Just detach from the tree */
-#define MNT_EXPIRE     0x00000004      /* Mark for expiry */
-
 #include "xlat/umount_flags.h"
 
 SYS_FUNC(umount2)
 {
-       if (entering(tcp)) {
-               printstr(tcp, tcp->u_arg[0], -1);
-               tprints(", ");
-               printflags(umount_flags, tcp->u_arg[1], "MNT_???");
-       }
-       return 0;
+       printpath(tcp, tcp->u_arg[0]);
+       tprints(", ");
+       printflags(umount_flags, tcp->u_arg[1], "MNT_???");
+
+       return RVAL_DECODED;
 }