summaryrefslogtreecommitdiff
path: root/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/printf.c b/printf.c
index 10e743a..dbafc04 100644
--- a/printf.c
+++ b/printf.c
@@ -65,8 +65,8 @@ printf(int fd, char *fmt, ...)
s++;
}
} else if(c == 'c'){
- putc(fd, *ap);
- ap++;
+ putc(fd, *ap);
+ ap++;
} else if(c == '%'){
putc(fd, c);
} else {