diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-02 18:49:43 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-02 18:49:43 +0200 |
commit | b24639d0113e15933e749ea0f96abe3f25a134a0 (patch) | |
tree | 4272020625c80c0d6982d3787bebc573c0da01b8 /test-instr.c | |
parent | 2ae4ca91b48407add0e940ee13bd8b385e319a7a (diff) | |
download | afl++-b24639d0113e15933e749ea0f96abe3f25a134a0.tar.gz |
run code formatter
Diffstat (limited to 'test-instr.c')
-rw-r--r-- | test-instr.c | 7 |
1 files changed, 5 insertions, 2 deletions
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); } + |