From 0525be68f261e37ad827238a0ca17dc46e03d691 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Mon, 8 Dec 2014 17:23:44 +0100 Subject: fixed syscall_execve and indirectly tput --- userspace/Makefile | 2 +- userspace/foolshell.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'userspace') diff --git a/userspace/Makefile b/userspace/Makefile index 86c221e..d3f47bc 100644 --- a/userspace/Makefile +++ b/userspace/Makefile @@ -12,7 +12,7 @@ CFLAGS+=-g PROGS=foolshell ls simple brainfuck add checker clear task1 task2 init ext2.img: $(PROGS) - dd if=/dev/zero of=ext2.img bs=512 count=7000 + dd if=/dev/zero of=ext2.img bs=512 count=10000 sudo mkfs.ext2 -O none ext2.img -F mkdir mnt sudo mount ext2.img mnt diff --git a/userspace/foolshell.c b/userspace/foolshell.c index 3a87158..b1259b8 100644 --- a/userspace/foolshell.c +++ b/userspace/foolshell.c @@ -42,6 +42,8 @@ int main(int argc, char **argv) if(!strcmp(argv[i],"--silent"))silent=true; } + printf("\n%i\n",argc); + if(!silent)hello(); char *buf=malloc(256); -- cgit v1.2.3