mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 23:52:49 +00:00
Fix the build using hunks pending upstream contributions
This commit is contained in:
parent
e0940c61c2
commit
1f6a3aa8e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312155
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user