Fix previous.

This commit is contained in:
uebayasi 2015-09-04 21:32:54 +00:00
parent 733f23562f
commit 82a183dddd
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: files.c,v 1.34 2015/09/04 15:50:48 uebayasi Exp $ */ /* $NetBSD: files.c,v 1.35 2015/09/04 21:32:54 uebayasi Exp $ */
/* /*
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
@ -45,7 +45,7 @@
#endif #endif
#include <sys/cdefs.h> #include <sys/cdefs.h>
__RCSID("$NetBSD: files.c,v 1.34 2015/09/04 15:50:48 uebayasi Exp $"); __RCSID("$NetBSD: files.c,v 1.35 2015/09/04 21:32:54 uebayasi Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <assert.h> #include <assert.h>
@ -374,7 +374,7 @@ fixfiles(void)
/* Order files. */ /* Order files. */
selfiles = malloc(nselfiles * sizeof(fi)); selfiles = malloc(nselfiles * sizeof(fi));
int i = 0; unsigned i = 0;
TAILQ_FOREACH(fi, &allfiles, fi_next) { TAILQ_FOREACH(fi, &allfiles, fi_next) {
if ((fi->fi_flags & FI_SEL) == 0) if ((fi->fi_flags & FI_SEL) == 0)
continue; continue;