summaryrefslogtreecommitdiff
path: root/src/sys/np/core/np_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/np/core/np_init.c')
-rw-r--r--src/sys/np/core/np_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/np/core/np_init.c b/src/sys/np/core/np_init.c
index 6b50b8e..63d2ff2 100644
--- a/src/sys/np/core/np_init.c
+++ b/src/sys/np/core/np_init.c
@@ -32,6 +32,7 @@
#include <sys/syslog.h>
#include <os/omar.h>
#include <os/np.h>
+#include <np/parse.h>
#define pr_trace(fmt, ...) printf("pirho: " fmt, ##__VA_ARGS__)
@@ -40,7 +41,6 @@ np_init(const char *in_path, struct np_work *workp)
{
int error;
struct nameidata nd;
- struct lex_token tok;
if (in_path == NULL || workp == NULL) {
return -EINVAL;
@@ -61,6 +61,7 @@ np_init(const char *in_path, struct np_work *workp)
return error;
}
+ parse_work(workp);
return 0;
}