add little hint for kodev.

This commit is contained in:
Joris Vink 2017-02-22 20:09:11 +01:00
parent 541870c10a
commit ead0a4199c
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ main(int argc, char *argv[])
kore_mem_init();
if (argc > 0)
fatal("did you mean to run `kodev´ instead?");
kore_pid = getpid();
nlisteners = 0;
LIST_INIT(&listeners);