diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-22 19:13:51 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-22 19:13:51 +0100 |
| commit | 608e66827d8aee1e55424c667777fac017501def (patch) | |
| tree | a64e18888fd17987cd38a1b998baac153eff656c /userspace | |
| parent | 5c8c67810a9df8fdcd7ca286cb2266d5d3536309 (diff) | |
fix return value
Diffstat (limited to 'userspace')
| -rw-r--r-- | userspace/simple.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/userspace/simple.c b/userspace/simple.c index 01d46e8..d4c48c2 100644 --- a/userspace/simple.c +++ b/userspace/simple.c @@ -2,13 +2,15 @@ int main(int argc, char **argv) { int i; - printf("argv: 0x%08X\n",argv); + printf("argv: 0x%08X\n",argv); + for(i=0;i<argc;i++) { printf("param %i: %08X: %s\n",i,argv[i],argv[i]); } puts("bye"); + return 0; } |
