summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/Makefile2
-rw-r--r--net/main.c2
2 files changed, 3 insertions, 1 deletions
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)
diff --git a/net/main.c b/net/main.c
index 339f037..040a827 100644
--- a/net/main.c
+++ b/net/main.c
@@ -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);
}