Skip to content

Commit f50e616

Browse files
authored
Merge pull request #82 from daneos/fix-incorrect-successfully-mounted-messages
Fix incorrect "successfully mounted" messages
2 parents 0bfbf3c + 2302cdf commit f50e616

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

asApp/src/os/Linux/osdNfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
117117
}
118118
#else
119119
printf("Autosave is not configured to manage the file-system mount point.\n");
120-
return (OK);
120+
return (ERROR);
121121
#endif
122122
}
123123

@@ -139,7 +139,7 @@ int dismountFileSystem(char *mntpoint)
139139
#else
140140

141141
printf("Autosave is not configured to manage the file-system mount point.\n");
142-
return (OK);
142+
return (ERROR);
143143

144144
#endif
145145
}

asApp/src/os/WIN32/osdNfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ extern volatile int save_restoreDebug;
1717
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
1818
{
1919
printf("mountFileSytem not supported on this OS\n");
20-
return (0);
20+
return (ERROR);
2121
}
2222

2323
int dismountFileSystem(char *mntpoint)
2424
{
2525
printf("dismountFileSytem not supported on this OS\n");
26-
return (0);
26+
return (ERROR);
2727
}

asApp/src/os/cygwin32/osdNfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ extern volatile int save_restoreDebug;
1717
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
1818
{
1919
printf("mountFileSytem not supported on this OS\n");
20-
return (0);
20+
return (ERROR);
2121
}
2222

2323
int dismountFileSystem(char *mntpoint)
2424
{
2525
printf("dismountFileSytem not supported on this OS\n");
26-
return (0);
26+
return (ERROR);
2727
}

asApp/src/os/default/osdNfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ extern volatile int save_restoreDebug;
1414
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
1515
{
1616
printf("mountFileSytem not supported on this OS\n");
17-
return (0);
17+
return (ERROR);
1818
}
1919

2020
int dismountFileSystem(char *mntpoint)
2121
{
2222
printf("dismountFileSytem not supported on this OS\n");
23-
return (0);
23+
return (ERROR);
2424
}

asApp/src/os/solaris/osdNfs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ extern volatile int save_restoreDebug;
2121
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
2222
{
2323
printf("NFS mounting for solaris is managed by OS\n");
24-
return (OK);
24+
return (ERROR);
2525
}
2626

2727
/* Note: file system mounting is managed by Linux */
2828
int dismountFileSystem(char *mntpoint)
2929
{
3030
printf("Not allowed to dismount for solaris\n");
31-
return (OK);
31+
return (ERROR);
3232
}

0 commit comments

Comments
 (0)