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:
parent
900d17fa40
commit
1515ad1ba6
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue