1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

kernel/main: fix typo

This commit is contained in:
daniel-k 2016-11-04 12:11:01 +01:00
parent 900d17fa40
commit 1515ad1ba6

View file

@ -58,7 +58,7 @@
#include <net/e1000.h>
#define HERMIT_PORT 0x494E
#define HEMRIT_MAGIC 0x7E317
#define HERMIT_MAGIC 0x7E317
// set to one if the single-kernel version should use a DHCP server
#define USE_DHCP 1
@ -474,7 +474,7 @@ static int initd(void* arg)
magic = 0;
lwip_read(c, &magic, sizeof(magic));
if (magic != HEMRIT_MAGIC)
if (magic != HERMIT_MAGIC)
{
kprintf("Invalid magic number %d\n", magic);
lwip_close(c);