summaryrefslogtreecommitdiff
path: root/libio/tst-freopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/tst-freopen.c')
-rw-r--r--libio/tst-freopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/tst-freopen.c b/libio/tst-freopen.c
index 20e5f2f874..8228951071 100644
--- a/libio/tst-freopen.c
+++ b/libio/tst-freopen.c
@@ -23,10 +23,10 @@
#include <string.h>
#include <unistd.h>
-int main (void)
+int
+main (void)
{
char name[] = "/tmp/tst-freopen.XXXXXX";
- char buf[4096];
const char * const test = "Let's test freopen.\n";
char temp[strlen (test) + 1];
int fd = mkstemp (name);