]> granicus.if.org Git - strace/commitdiff
Print the first argument of umount2 syscall as a path
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 7 Dec 2015 00:10:58 +0000 (00:10 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 7 Dec 2015 00:10:58 +0000 (00:10 +0000)
* umount.c (SYS_FUNC(umount2)): Use printpath instead of printstr.

This fixes Debian bug #785050.

umount.c

index 8755afc93c9a2fce187c904905ba65cc5e5700e5..4f599ea1f1ca5e58413e975e09a2e3dd3c8e0d96 100644 (file)
--- a/umount.c
+++ b/umount.c
@@ -8,7 +8,7 @@
 
 SYS_FUNC(umount2)
 {
-       printstr(tcp, tcp->u_arg[0], -1);
+       printpath(tcp, tcp->u_arg[0]);
        tprints(", ");
        printflags(umount_flags, tcp->u_arg[1], "MNT_???");