mqueues: kdump: Ad-hoc translation for mq_open().
authorStathis Kamperis <beket@dragonflybsd.org>
Wed, 7 Oct 2009 19:41:37 +0000 (19:41 +0000)
committerStathis Kamperis <beket@dragonflybsd.org>
Wed, 7 Oct 2009 20:24:49 +0000 (20:24 +0000)
usr.bin/kdump/kdump.c

index 9ff65dc..868b519 100644 (file)
@@ -309,7 +309,8 @@ ktrsyscall(struct ktr_syscall *ktr)
                                accessmodename ((int)*ip);
                                ip++;
                                narg--;
-                       } else if (ktr->ktr_code == SYS_open) {
+                       } else if (ktr->ktr_code == SYS_open ||
+                                  ktr->ktr_code == SYS_mq_open) {
                                int     flags;
                                int     mode;
                                print_number(ip,narg,c);