Return to filesys-os.c CVS log | Up to [local] / src / usr.bin / rdistd |
version 1.11, 2014/07/05 10:21:24 | version 1.12, 2015/01/16 06:40:11 | ||
---|---|---|---|
|
|
||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||
*/ | */ | ||
#include <sys/param.h> | #include <sys/types.h> | ||
#include <sys/mount.h> | #include <sys/mount.h> | ||
#include "defs.h" | #include "defs.h" | ||
|
|
||
getmountent(void) | getmountent(void) | ||
{ | { | ||
static mntent_t mntstruct; | static mntent_t mntstruct; | ||
static char remote_dev[MAXHOSTNAMELEN+MAXPATHLEN+1]; | static char remote_dev[HOST_NAME_MAX+1 + PATH_MAX + 1]; | ||
if (!entries_left) | if (!entries_left) | ||
return (NULL); | return (NULL); |