diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-12-08 17:23:44 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-12-08 17:23:44 +0100 |
| commit | 0525be68f261e37ad827238a0ca17dc46e03d691 (patch) | |
| tree | edbf4eb6a87af4a38c46f946da2bf2c3dc2b2ea7 /userspace | |
| parent | 05b104b09292dac40c85aab7ab7b2ea2265d407b (diff) | |
fixed syscall_execve and indirectly tput
Diffstat (limited to 'userspace')
| -rw-r--r-- | userspace/Makefile | 2 | ||||
| -rw-r--r-- | userspace/foolshell.c | 2 |
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); |
