tidy-up: replace (1 != expressions 1

This commit is contained in:
Viktor Szakats 2025-07-09 19:08:42 +02:00
parent 656c1cae6a
commit 3b75d69dbb
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 3 additions and 3 deletions

View file

@ -481,7 +481,7 @@ static ssize_t write_behind(struct testcase *test, int convert)
}
/* formerly
putc(c, file); */
if(1 != write(test->ofile, &c, 1))
if(write(test->ofile, &c, 1) != 1)
break;
skipit:
prevchar = c;