diff options
| author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-08-23 13:43:43 +0000 |
|---|---|---|
| committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-08-23 13:43:43 +0000 |
| commit | bf6911cd089289f27bbc17fe8ac058113036be89 (patch) | |
| tree | cc0bd400e27f6d0fc5b0d90ad0eda905bb9719f3 | |
| parent | fb22f749b375c69dd1e841ccbd1668ff444bc903 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/kldxref/kldxref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c index a5185b7ba84c..fe28cbce24a8 100644 --- a/usr.sbin/kldxref/kldxref.c +++ b/usr.sbin/kldxref/kldxref.c @@ -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 |
