Searched refs:mntstrdup (Results 1 – 1 of 1) sorted by relevance
43 #define mntstrdup(s) ((s) ? strdup((s)) : "") macro121 mnt->mnt_fsname = mntstrdup(vfs.vfs_special);122 mnt->mnt_dir = mntstrdup(vfs.vfs_mountp);123 mnt->mnt_type = mntstrdup(vfs.vfs_fstype);124 mnt->mnt_opts = mntstrdup(vfs.vfs_mntopts);170 new->mnt_fsname = mntstrdup(mnt->mnt_fsname); /* mnt_special */171 new->mnt_dir = mntstrdup(mnt->mnt_dir); /* mnt_mountp */172 new->mnt_type = mntstrdup(mnt->mnt_type); /* mnt_fstype */173 new->mnt_opts = mntstrdup(mnt->mnt_opts); /* mnt_mntopts */