diff options
Diffstat (limited to 'printf.c')
-rw-r--r-- | printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ -int printf(char *fmt) { +int printf(char *fmt, int pos) { char *arg, ch; int len, x; - arg = (int)&fmt + sizeof(char*); + arg = (int)&pos; while ((ch = *fmt)) { if (ch == '%') |