diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 19:06:35 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-18 19:06:35 +0200 |
commit | 478c691187fbc9ba4ccaacf92f57828eef20041c (patch) | |
tree | 4cb4b00d7da1fd533cebc347f3641cc0455935f5 /src/user/lib/std/stdlib.c | |
parent | 7e6454020ed1143e05e83a683606f318995458e5 (diff) | |
download | TCE-478c691187fbc9ba4ccaacf92f57828eef20041c.tar.gz TCE-478c691187fbc9ba4ccaacf92f57828eef20041c.zip |
Simple shell added. Simple fprintf function added too.
Diffstat (limited to 'src/user/lib/std/stdlib.c')
-rw-r--r-- | src/user/lib/std/stdlib.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/user/lib/std/stdlib.c b/src/user/lib/std/stdlib.c index 21753e9..9d46b5c 100644 --- a/src/user/lib/std/stdlib.c +++ b/src/user/lib/std/stdlib.c @@ -4,8 +4,5 @@ volatile int errno; void abort() { - printk("Abort - errno "); - printk_int(errno); - printk(".\n"); - process_exit(-1); + process_exit(100 + errno); } |