summaryrefslogtreecommitdiff
path: root/umount.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2015-07-16 21:13:27 +0000
committerDmitry V. Levin <ldv@altlinux.org>2015-07-16 22:58:12 +0000
commitc1f37f6e7ad44ce90bed1b86b22543c47847c7b3 (patch)
treeb7b6481e1c5bf178f84b1d063de8d479efd0a692 /umount.c
parentc9a199278bda38799fcf1eda38364b4c5b201cc9 (diff)
downloadstrace-c1f37f6e7ad44ce90bed1b86b22543c47847c7b3.tar.gz
umount.c: make use of RVAL_DECODED
* umount.c (sys_umount2): Update for RVAL_DECODED.
Diffstat (limited to 'umount.c')
-rw-r--r--umount.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/umount.c b/umount.c
index b015f8387..8755afc93 100644
--- a/umount.c
+++ b/umount.c
@@ -8,10 +8,9 @@
SYS_FUNC(umount2)
{
- if (entering(tcp)) {
- printstr(tcp, tcp->u_arg[0], -1);
- tprints(", ");
- printflags(umount_flags, tcp->u_arg[1], "MNT_???");
- }
- return 0;
+ printstr(tcp, tcp->u_arg[0], -1);
+ tprints(", ");
+ printflags(umount_flags, tcp->u_arg[1], "MNT_???");
+
+ return RVAL_DECODED;
}