aboutsummaryrefslogtreecommitdiff
path: root/src/bin/src/update.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-12 00:37:26 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-16 22:57:45 +0100
commit2ce58c995946f85666e793c4f06efff683e76ae4 (patch)
treefbf2658bb0b0f61dadcf4ca27f997eaded78aae5 /src/bin/src/update.c
parent5ce25ae3b5d8666d373f7d7e336546ce8508c213 (diff)
Diffstat (limited to 'src/bin/src/update.c')
-rw-r--r--src/bin/src/update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/src/update.c b/src/bin/src/update.c
index 3f03ae7..f5ce1c6 100644
--- a/src/bin/src/update.c
+++ b/src/bin/src/update.c
@@ -35,10 +35,10 @@ static int load(void)
switch (nw_load(&m->mod, &m->mod_out))
{
- case STATE_AGAIN:
+ case NW_AGAIN:
break;
- case STATE_FATAL:
+ case NW_FATAL:
/* TODO: call nw_loadexc. */
kprintf("Module %s failed to load\n", m->path);
@@ -48,7 +48,7 @@ static int load(void)
bin_mod_free(m);
break;
- case STATE_OK:
+ case NW_OK:
kprintf("Module %s loaded successfully\n", m->path);
if (bin_start(m))