Return to filesys-os.c CVS log | Up to [local] / src / usr.bin / rdistd |
version 1.6, 1999/02/04 23:18:57 | version 1.7, 2003/04/05 20:31:58 | ||
---|---|---|---|
|
|
||
mntstruct.me_flags |= MEFLAG_READONLY; | mntstruct.me_flags |= MEFLAG_READONLY; | ||
#endif | #endif | ||
if (f_type_eq(mnt, MOUNT_NFS)) { | if (f_type_eq(mnt, MOUNT_NFS)) { | ||
(void) sprintf(remote_dev, "%s", mnt->f_mntfromname); | (void) snprintf(remote_dev, sizeof remote_dev, | ||
"%s", mnt->f_mntfromname); | |||
mntstruct.me_path = remote_dev; | mntstruct.me_path = remote_dev; | ||
mntstruct.me_type = METYPE_NFS; | mntstruct.me_type = METYPE_NFS; | ||
} else { | } else { |