svn commit: r359741 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Thu Apr 9 08:26:16 UTC 2020
Author: pho
Date: Thu Apr 9 08:26:15 2020
New Revision: 359741
URL: https://svnweb.freebsd.org/changeset/base/359741
Log:
Fix indent warnings from cc.
Modified:
user/pho/stress2/misc/rename12.sh
Modified: user/pho/stress2/misc/rename12.sh
==============================================================================
--- user/pho/stress2/misc/rename12.sh Thu Apr 9 07:15:27 2020 (r359740)
+++ user/pho/stress2/misc/rename12.sh Thu Apr 9 08:26:15 2020 (r359741)
@@ -110,8 +110,8 @@ cr(void)
snprintf(name, sizeof(name), "dir1/d.%06d.%06d", pid, i);
if (mkdir(name, 0700) == -1)
err(1, "mkdir(%s). %s:%d", name, __FILE__, __LINE__);
- if (write(mvpipe[1], &i, sizeof(i)) != sizeof(i))
- err(1, "write mvpipe");
+ if (write(mvpipe[1], &i, sizeof(i)) != sizeof(i))
+ err(1, "write mvpipe");
}
_exit(0);
@@ -132,7 +132,7 @@ mv(void)
snprintf(name, sizeof(name), "dir1/d.%06d.%06d", pid, i);
snprintf(to , sizeof(to ), "dir2/d.%06d.%06d", pid, i);
if (rename(name, to) == -1)
- warn("rename(%s, %s)", name, to);
+ warn("rename(%s, %s)", name, to);
if (write(rmpipe[1], &i, sizeof(i)) != sizeof(i))
err(1, "write rmpipe");
}
More information about the svn-src-user
mailing list