summaryrefslogtreecommitdiff
path: root/userspace
diff options
context:
space:
mode:
Diffstat (limited to 'userspace')
-rw-r--r--userspace/Makefile2
-rw-r--r--userspace/foolshell.c2
2 files changed, 3 insertions, 1 deletions
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);