From e2b37f659246bf9c5ba2ed9561772f8b56a36256 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 23 Jan 2020 21:55:00 -0800 Subject: mknod: third arg must be optional. * sysif.c (sysif_init): Fix incorrect registration of mknod, whose third argument (dev) is documented as optional. --- sysif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysif.c b/sysif.c index 669b1863..4fd4657f 100644 --- a/sysif.c +++ b/sysif.c @@ -2054,7 +2054,7 @@ void sysif_init(void) #endif #if HAVE_MKNOD - reg_fun(intern(lit("mknod"), user_package), func_n3(mknod_wrap)); + reg_fun(intern(lit("mknod"), user_package), func_n3o(mknod_wrap, 2)); #endif #if HAVE_CHMOD -- cgit v1.2.3