summaryrefslogtreecommitdiff
path: root/src/user/app/netstack/netstack.c
diff options
context:
space:
mode:
authordzwdz2023-08-10 00:23:45 +0200
committerdzwdz2023-08-10 00:23:45 +0200
commit116c5c2c47998b62fc7e352864735945dc14ca3f (patch)
tree31b0c194d40f91c18ca2bed4e96f2835c18e549e /src/user/app/netstack/netstack.c
parentfe2767219e22eda853cb1ad30c44c49afc1bed66 (diff)
user: more descriptive process titles
Diffstat (limited to 'src/user/app/netstack/netstack.c')
-rw-r--r--src/user/app/netstack/netstack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/app/netstack/netstack.c b/src/user/app/netstack/netstack.c
index 55b716a..2636429 100644
--- a/src/user/app/netstack/netstack.c
+++ b/src/user/app/netstack/netstack.c
@@ -44,6 +44,7 @@ int main(int argc, char **argv) {
eprintf("invalid gateway");
return -1;
}
+ setproctitle(argv[2]);
arp_request(state.gateway);
thread_create(0, network_thread, NULL);
thread_create(0, fs_thread, NULL);