summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/loader2/method.c b/loader2/method.c
index 6cef9be5f..b2a4ecc5f 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -134,11 +134,11 @@ int mountLoopback(char * fsystem, char * mntpoint, char * device) {
close(loopfd);
if (doPwMount(filename, mntpoint, "iso9660", 1,
- 0, NULL, NULL)) {
+ 0, NULL, NULL, 0)) {
if (doPwMount(filename, mntpoint, "ext2", 1,
- 0, NULL, NULL)) {
+ 0, NULL, NULL, 0)) {
if (doPwMount(filename, mntpoint, "cramfs", 1,
- 0, NULL, NULL)) {
+ 0, NULL, NULL, 0)) {
logMessage("failed to mount loop: %s",
strerror(errno));
@@ -213,7 +213,7 @@ int readStampFileFromIso(char *file, char **timestamp, char **releasedescr) {
if (S_ISBLK(sb.st_mode)) {
filetype = 1;
if (doPwMount(file, "/tmp/testmnt",
- "iso9660", 1, 0, NULL, NULL)) {
+ "iso9660", 1, 0, NULL, NULL, 0)) {
logMessage("Failed to mount device %s to get description", file);
return -1;
}