diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-16 19:27:40 +1000 |
---|---|---|
committer | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2014-10-29 16:17:38 +0530 |
commit | f209bf95ecb8dff5217bd93339596d2a4a293cbd (patch) | |
tree | 9abcd90e95bf52f8d9b5dbca1583ada84e9f89b8 /clients/net-snk/kernel/systemcall.c | |
parent | c3c8d6ae27a2c86cd133b285d3e9bbf5ef047701 (diff) | |
download | SLOF-f209bf95ecb8dff5217bd93339596d2a4a293cbd.zip SLOF-f209bf95ecb8dff5217bd93339596d2a4a293cbd.tar.gz SLOF-f209bf95ecb8dff5217bd93339596d2a4a293cbd.tar.bz2 |
net-snk: Remove custom printf version
In favor of the libc one
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'clients/net-snk/kernel/systemcall.c')
-rw-r--r-- | clients/net-snk/kernel/systemcall.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clients/net-snk/kernel/systemcall.c b/clients/net-snk/kernel/systemcall.c index 055a3f8..52c45ca 100644 --- a/clients/net-snk/kernel/systemcall.c +++ b/clients/net-snk/kernel/systemcall.c @@ -174,15 +174,3 @@ void exit(int status) { _exit(status); } - -int printf(const char* fmt, ...) -{ - int count; - va_list ap; - char buffer[256]; - va_start (ap, fmt); - count=vsprintf(buffer, fmt, ap); - write (1, buffer, count); - va_end (ap); - return count; -} |