return((mntent_t *) NULL);
return(NULL);
mntent_t *getmntpt(pathname, statbuf, isvalid)	char *pathname;	struct stat *statbuf;	int *isvalid;{	static struct mntinfo *mntinfo = NULL;	static struct stat filestat;	struct stat *pstat;	struct mntinfo *tmpmi;	register mntent_t *mnt;	/*	 * Use the supplied stat buffer if not NULL or our own.	 */	if (statbuf) 		pstat = statbuf;	else		pstat = &filestat;	if (!find_file(pathname, pstat, isvalid))	        return((mntent_t *) NULL);	/*	 * Make mntinfo if it doesn't exist.	 */	if (!mntinfo)		mntinfo = makemntinfo((struct mntinfo *) NULL);	/*	 * Find the mnt that pathname is on.	 */	if (mnt = findmnt(pstat, mntinfo))		return(mnt);	/*	 * We failed to find correct mnt, so maybe it's a newly	 * mounted filesystem.  We rebuild mntinfo and try again.	 */	if (tmpmi = makemntinfo(mntinfo)) {		mntinfo = tmpmi;		if (mnt = findmnt(pstat, mntinfo))			return(mnt);	}	error("%s: Could not find mount point", pathname);	return((mntent_t *) NULL);}