Use roundup2() from sys/param.h.

This commit is contained in:
Marcelo Araujo
2016-08-23 13:43:43 +00:00
parent fb22f749b3
commit bf6911cd08
+1 -1
View File
@@ -74,7 +74,7 @@ static int reccnt; /* total record written to this file so far */
static void
intalign(void)
{
recpos = (recpos + sizeof(int) - 1) & ~(sizeof(int) - 1);
recpos = roundup2(recpos, sizeof(int));
}
static void