Changeset 1081 in MondoRescue for trunk/mondo/src/mondoarchive
- Timestamp:
- Jan 28, 2007, 11:20:07 PM (17 years ago)
- Location:
- trunk/mondo/src/mondoarchive
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/mondoarchive/main.c
r932 r1081 1 /* 2 * $Id$ 3 * * 4 * This program is free software; you can redistribute it and/or modify * 5 * it under the terms of the GNU General Public License as published by * 6 * the Free Software Foundation; either version 2 of the License, or * 7 * (at your option) any later version. * 8 * * 9 *************************************************************************** 1 /*************************************************************************** 2 * $Id$ 3 */ 4 5 6 /** 7 * @file 10 8 * The main file for mondoarchive. 11 9 */ … … 176 174 diffs = 0; 177 175 printf(_("Initializing...\n")); 178 if (!(bkpinfo = malloc(sizeof(struct s_bkpinfo)))) { 179 fatal_error("Cannot malloc bkpinfo"); 180 } 176 bkpinfo = mr_malloc(sizeof(struct s_bkpinfo)); 181 177 182 178 /* Initialize Configuration Structure */ -
trunk/mondo/src/mondoarchive/mondo-cli.c
r1079 r1081 1 1 /*************************************************************************** 2 * $Id$ 3 * 2 $Id$ 3 *******************************************************************/ 4 5 /** 6 * @file 4 7 * Functions for handling command-line arguments passed to mondoarchive. 5 8 */ … … 522 525 if (flag_set['z']) { 523 526 if (find_home_of_exe("getfattr")) { 524 asprintf(&g_getfattr,"getfattr");527 mr_asprintf(&g_getfattr,"getfattr"); 525 528 } 526 529 if (find_home_of_exe("getfacl")) { 527 asprintf(&g_getfacl,"getfacl");530 mr_asprintf(&g_getfacl,"getfacl"); 528 531 } 529 532 }
Note:
See TracChangeset
for help on using the changeset viewer.