summaryrefslogtreecommitdiffstats
path: root/libc/stdio/fgets.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fgets.c')
-rw-r--r--libc/stdio/fgets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c
index 99bdac9..f26385d 100644
--- a/libc/stdio/fgets.c
+++ b/libc/stdio/fgets.c
@@ -63,12 +63,12 @@ fgets(char *buf, int n, FILE *fp)
/* EOF/error: stop with partial or no line */
if (s == buf)
return (NULL);
- break;
- }
+ break;
+ }
}
len = fp->_r;
p = fp->_p;
-
+
/*
* Scan through at most n bytes of the current buffer,
* looking for '\n'. If found, copy up to and including