Minor formatting changes by "indent".

This commit is contained in:
Andrew Wood
2024-04-21 12:01:52 +01:00
parent 31b43cf3c7
commit f6686b8188
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ static void pv_crs_open_lockfile(pvstate_t state, int fd)
return;
}
tmpdir = (char *) getenv("TMPDIR"); /* flawfinder: ignore */
tmpdir = (char *) getenv("TMPDIR"); /* flawfinder: ignore */
if ((NULL == tmpdir) || ('\0' == tmpdir[0]))
tmpdir = (char *) getenv("TMP"); /* flawfinder: ignore */
if ((NULL == tmpdir) || ('\0' == tmpdir[0]))
+1 -2
View File
@@ -917,8 +917,7 @@ static bool pv__format(pvstate_t state, long double elapsed_sec, off_t bytes_sin
} else {
/* bytes or lines per second */
pv__sizestr(component_content,
component_buf_size,
"[%s]", average_rate, _("/s"), _("B/s"), count_type);
component_buf_size, "[%s]", average_rate, _("/s"), _("B/s"), count_type);
}
/*@+mustfreefresh @ *//* splint: see above. */
break;