diff options
| author | Miguel <m.i@gmx.at> | 2018-09-27 15:03:14 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-27 15:03:14 +0200 |
| commit | 3afdccc7087797a106263c481bfc406049124fa6 (patch) | |
| tree | 9d687c246fa818f8214fe64c673339ed77e9a34d | |
| parent | 8e005d0f13767db538e3d939188d73370db9042d (diff) | |
litttle fix in netstack
| -rw-r--r-- | Makefile.common | 2 | ||||
| -rw-r--r-- | kernel/syscalls.h | 2 | ||||
| -rw-r--r-- | net/Makefile | 2 | ||||
| -rw-r--r-- | net/main.c | 2 |
4 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common index d4e45c3..3ac16ad 100644 --- a/Makefile.common +++ b/Makefile.common @@ -7,4 +7,4 @@ @echo "CC $@ ..."; $(CC) -c $(CFLAGS) $*.c -o $*.o %.d: %.c - @echo "DEP $@ ..."; $(CC) -MM -MT $*.o $(CFLAGS) $*.c > $*.d + @echo "DEPS $@ ..."; $(CC) -MM -MT $*.o $(CFLAGS) $*.c > $*.d diff --git a/kernel/syscalls.h b/kernel/syscalls.h index 7216a46..5403c2c 100644 --- a/kernel/syscalls.h +++ b/kernel/syscalls.h @@ -46,7 +46,7 @@ void fd_init_std_streams(uint32_t pid, bool use_framebuffer); /** returns string representation of the syscall from its number */ -char* syscall_get_name(uint32_t num); +char* syscall_get_name(uint32_t num); /** invoke a syscall from kernel */ uint32_t syscall_generic(uint32_t nr,uint32_t p1, uint32_t p2, uint32_t p3, uint32_t pid); diff --git a/net/Makefile b/net/Makefile index 85cf348..c1e81c0 100644 --- a/net/Makefile +++ b/net/Makefile @@ -91,6 +91,8 @@ DEPS=$(patsubst %.c, %.d, $(SOURCES)) # default target new: clean tags all +newrun: new run + -include ../Makefile.common -include $(DEPS) @@ -77,7 +77,7 @@ int main(int argc, char **argv) printf("read error: %s \n",strerror(errno)); } - printf("read %i bytes\n",len); + printf("read %d bytes\n",len); net_incoming(&net_dev,buf); } |
