Fix the build using hunks pending upstream contributions

This commit is contained in:
Enji Cooper 2017-01-14 10:08:22 +00:00
parent e0940c61c2
commit 1f6a3aa8e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312155

View File

@ -52,8 +52,12 @@ msync_sync(const char *garbage, int flags)
{
char *buf, *map = MAP_FAILED;
const char *str = NULL;
#ifdef __FreeBSD__
size_t len;
#else
size_t i, len;
ssize_t tot;
#endif
int fd, rv;
/*