aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt3
-rw-r--r--ports/unix/guts/mknod.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 9deafc5..710a810 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,6 @@
+2014-01-23:
+ * (seebs) mknod wasn't calling mknodat.
+
2014-01-22:
* (seebs) notes on some Futures planning.
* (seebs) Typo/formatting issue in man page.
diff --git a/ports/unix/guts/mknod.c b/ports/unix/guts/mknod.c
index 25c2962..eeca65d 100644
--- a/ports/unix/guts/mknod.c
+++ b/ports/unix/guts/mknod.c
@@ -1,12 +1,12 @@
/*
- * Copyright (c) 2011 Wind River Systems; see
+ * Copyright (c) 2011,2014 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* int mknod(const char *path, mode_t mode, dev_t dev)
* int rc = -1;
*/
- rc = real_mknod(path, mode, dev);
+ rc = wrap_mknodat(AT_FDCWD, path, mode, dev);
/* return rc;
* }