Skip to content

Commit

Permalink
kthd: renamed exec helper to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 1, 2024
1 parent cc0e67a commit d571f4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kthd/src/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <fnctl.h>
#include <errno.h>

void exec(ExecCommand *cmd) {
void kthdExec(ExecCommand *cmd) {
cmd->header.header.response = 1;
cmd->header.header.length = sizeof(ExecCommand);

Expand Down
4 changes: 2 additions & 2 deletions kthd/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <liblux/liblux.h>
#include <stdlib.h>

void exec(ExecCommand *);
void kthdExec(ExecCommand *);

int main() {
luxInit("kthd");
Expand Down Expand Up @@ -40,7 +40,7 @@ int main() {
luxRecvLumen(msg, SERVER_MAX_SIZE, false, false);

switch(msg->header.command) {
case COMMAND_EXEC: exec((ExecCommand *) msg); break;
case COMMAND_EXEC: kthdExec((ExecCommand *) msg); break;
default:
luxLogf(KPRINT_LEVEL_WARNING, "unimplemented command 0x%04X, dropping message...\n", msg->header.command);
}
Expand Down

0 comments on commit d571f4c

Please sign in to comment.