diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-01-23 21:55:00 -0800 |
---|---|---|
committer | Kaz Kyheku <kaz@kylheku.com> | 2020-01-23 21:55:00 -0800 |
commit | e2b37f659246bf9c5ba2ed9561772f8b56a36256 (patch) | |
tree | e103d77ba6c63cff6a7d030f0b37ef0297411226 /sysif.c | |
parent | 2f9a61fab155d577b8618a64fef8a755cc15f2f8 (diff) | |
download | txr-e2b37f659246bf9c5ba2ed9561772f8b56a36256.tar.gz txr-e2b37f659246bf9c5ba2ed9561772f8b56a36256.tar.bz2 txr-e2b37f659246bf9c5ba2ed9561772f8b56a36256.zip |
mknod: third arg must be optional.
* sysif.c (sysif_init): Fix incorrect registration of mknod,
whose third argument (dev) is documented as optional.
Diffstat (limited to 'sysif.c')
-rw-r--r-- | sysif.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |