From eb1dda5ea52333f3b821f9c31ea7695c46cbae96 Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 17 Aug 2014 22:25:53 +0000 Subject: [PATCH] Display symbolicly the mode argument of mkdir, mkfifo, mknod, and umask --- usr.bin/kdump/kdump.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 3903c53ebe4..b8ea03325fa 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.86 2013/12/21 07:32:35 guenther Exp $ */ +/* $OpenBSD: kdump.c,v 1.87 2014/08/17 22:25:53 guenther Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -591,9 +591,15 @@ ktrsyscall(struct ktr_syscall *ktr) break; case SYS_chmod: case SYS_fchmod: + case SYS_mkdir: + case SYS_mkfifo: + case SYS_mknod: pn(NULL); pn(modename); break; + case SYS_umask: + pn(modename); + break; case SYS_fcntl: { int cmd; int arg; -- 2.20.1