Spacing changes from "make indent".

This commit is contained in:
Andrew Wood
2023-08-13 16:19:45 +01:00
parent fff425ec61
commit f3cd9a2664
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ static void pv__format_init(pvstate_t state)
unsigned int num;
strpos++;
num = 0;
while (isdigit((int)(formatstr[strpos]))) {
while (isdigit((int) (formatstr[strpos]))) {
num = num * 10;
num += formatstr[strpos] - '0';
strpos++;
+3 -3
View File
@@ -128,15 +128,15 @@ static ssize_t pv__transfer_write_repeated(int fd, void *buf, size_t count, bool
* descriptor), EINVAL (non syncable fd, such as a
* pipe), etc - only return an error on EIO.
*/
# if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0
#if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0
if ((fdatasync(fd) < 0) && (EIO == errno)) {
return -1;
}
# else
#else
if ((fsync(fd) < 0) && (EIO == errno)) {
return -1;
}
# endif
#endif
}
#endif /* HAVE_FDATASYNC */