aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-23 04:29:00 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-23 04:38:33 +0200
commit33a99a31c702f5e0404059a65d35c437e7d204ae (patch)
treee790d63e51123808d390ad75098e19c33f06d2ef /src
parent14731f0eaa1c545509a928d6baa1d4678478e563 (diff)
ps1/net.c: return 0 on net_init
Even if the implementation is not finished yet, this will avoid the program from crashing on startup.
Diffstat (limited to 'src')
-rw-r--r--src/net/src/ps1/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/src/ps1/net.c b/src/net/src/ps1/net.c
index c45662d..8c037f3 100644
--- a/src/net/src/ps1/net.c
+++ b/src/net/src/ps1/net.c
@@ -36,7 +36,7 @@ struct net_socket *net_server(const union net_server *const c)
int net_init(void)
{
- return -1;
+ return 0;
}
void net_deinit(void)