summaryrefslogtreecommitdiff
path: root/printf.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2018-08-31 09:21:19 -0400
committerFrans Kaashoek <[email protected]>2018-08-31 09:21:19 -0400
commit308a3b88c9e59b9065f1af9cdd2e0369cdfd0823 (patch)
tree561d5cc95964191b8b16fe61b16406aeadaf3ad0 /printf.c
parent343255189e3b5dac4bcd132ecc0cb28158657aa6 (diff)
downloadxv6-labs-308a3b88c9e59b9065f1af9cdd2e0369cdfd0823.tar.gz
xv6-labs-308a3b88c9e59b9065f1af9cdd2e0369cdfd0823.tar.bz2
xv6-labs-308a3b88c9e59b9065f1af9cdd2e0369cdfd0823.zip
thanks tyfkda
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 9972b45..b3298aa 100644
--- a/printf.c
+++ b/printf.c
@@ -37,7 +37,7 @@ printint(int fd, int xx, int base, int sgn)
// Print to the given fd. Only understands %d, %x, %p, %s.
void
-printf(int fd, char *fmt, ...)
+printf(int fd, const char *fmt, ...)
{
char *s;
int c, i, state;