Changeset 2226 in MondoRescue
- Timestamp:
- Jun 17, 2009, 2:33:36 PM (16 years ago)
- Location:
- branches/2.2.9/mondo/src/common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-cli.c
r2225 r2226 997 997 p--; 998 998 *p = '\0'; 999 strcpy(bkpinfo->nfs_user,bkpinfo->nfs_mount); 999 mr_asprintf(q,"%s",bkpinfo->nfs_mount); 1000 bkpinfo->nfs_user = q; 1000 1001 strcpy(bkpinfo->nfs_mount,tmp); 1001 1002 } -
branches/2.2.9/mondo/src/common/libmondo-devices.c
r2224 r2226 2053 2053 log_it("isodir = %s", bkpinfo->isodir); 2054 2054 log_it("nfs_mount = '%s'", bkpinfo->nfs_mount); 2055 if (bkpinfo->nfs_user != NULL) {2055 if (bkpinfo->nfs_user) { 2056 2056 log_it("nfs_user = '%s'", bkpinfo->nfs_user); 2057 2057 } -
branches/2.2.9/mondo/src/common/libmondo-fork.c
r2225 r2226 133 133 old_stderr[0] = '\0'; 134 134 135 if (bkpinfo->nfs_user != NULL) {135 if (bkpinfo->nfs_user) { 136 136 mr_asprintf(&tmp1, "su - %s -c \"%s\"", bkpinfo->nfs_user, basic_call); 137 137 } else { -
branches/2.2.9/mondo/src/common/libmondo-tools.c
r2224 r2226 857 857 bkpinfo->kernel_path[0] = '\0'; 858 858 bkpinfo->nfs_mount[0] = '\0'; 859 bkpinfo->nfs_user [0] = '\0';859 bkpinfo->nfs_user = NULL; 860 860 bkpinfo->nfs_remote_dir[0] = '\0'; 861 861 bkpinfo->postnuke_tarball[0] = '\0'; … … 1410 1410 paranoid_free(g_serial_string); 1411 1411 paranoid_free(g_magicdev_command); 1412 1413 mr_free(bkpinfo->nfs_user); 1412 1414 } 1413 1415 -
branches/2.2.9/mondo/src/common/mondostructures.h
r2224 r2226 574 574 * The potential user to use for NFS backup 575 575 */ 576 char nfs_user[MAX_STR_LEN/4];576 char *nfs_user; 577 577 578 578 /**
Note:
See TracChangeset
for help on using the changeset viewer.