From b24639d0113e15933e749ea0f96abe3f25a134a0 Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Mon, 2 Sep 2019 18:49:43 +0200 Subject: run code formatter --- test-instr.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test-instr.c') diff --git a/test-instr.c b/test-instr.c index 9107f15e..71838462 100644 --- a/test-instr.c +++ b/test-instr.c @@ -20,14 +20,16 @@ int main(int argc, char** argv) { - char buff[8]; - char *buf = buff; + char buff[8]; + char* buf = buff; if (argc > 1) buf = argv[1]; else if (read(0, buf, sizeof(buf)) < 1) { + printf("Hum?\n"); exit(1); + } if (buf[0] == '0') @@ -40,3 +42,4 @@ int main(int argc, char** argv) { exit(0); } + -- cgit 1.4.1