Print the first argument of umount2 syscall as a path

* umount.c (SYS_FUNC(umount2)): Use printpath instead of printstr.

This fixes Debian bug #785050.
This commit is contained in:
Дмитрий Левин 2015-12-07 00:10:58 +00:00
parent eb76c4be15
commit 431d7fd21a

View File

@ -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_???");