> diff --git a/loader2/method.c b/loader2/method.c > index 1905f9f..a874d98 100644 > --- a/loader2/method.c > +++ b/loader2/method.c > @@ -644,8 +644,11 @@ int copyFileAndLoopbackMount(int fd, char * dest, > 2 - could not mount device as ext2, vfat, or iso9660 > 3 - file named path not there > */ > +#define TRYMOUNT(fs) \ > + (doPwMount("/tmp/srcdev", "/tmp/mnt", (fs), IMOUNT_RDONLY, NULL)) > + > int getFileFromBlockDevice(char *device, char *path, char * dest) { > - int rc; > + int i = 0, s = 1, rc; > char file[4096]; > > logMessage(INFO, "getFileFromBlockDevice(%s, %s)", device, path); Please see pjones's comments regarding macro use. Thanks. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list