Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions asApp/src/os/Linux/osdNfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
}
#else
printf("Autosave is not configured to manage the file-system mount point.\n");
return (OK);
return (ERROR);
#endif
}

Expand All @@ -139,7 +139,7 @@ int dismountFileSystem(char *mntpoint)
#else

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

#endif
}
4 changes: 2 additions & 2 deletions asApp/src/os/WIN32/osdNfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ extern volatile int save_restoreDebug;
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
{
printf("mountFileSytem not supported on this OS\n");
return (0);
return (ERROR);
}

int dismountFileSystem(char *mntpoint)
{
printf("dismountFileSytem not supported on this OS\n");
return (0);
return (ERROR);
}
4 changes: 2 additions & 2 deletions asApp/src/os/cygwin32/osdNfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ extern volatile int save_restoreDebug;
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
{
printf("mountFileSytem not supported on this OS\n");
return (0);
return (ERROR);
}

int dismountFileSystem(char *mntpoint)
{
printf("dismountFileSytem not supported on this OS\n");
return (0);
return (ERROR);
}
4 changes: 2 additions & 2 deletions asApp/src/os/default/osdNfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ extern volatile int save_restoreDebug;
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
{
printf("mountFileSytem not supported on this OS\n");
return (0);
return (ERROR);
}

int dismountFileSystem(char *mntpoint)
{
printf("dismountFileSytem not supported on this OS\n");
return (0);
return (ERROR);
}
4 changes: 2 additions & 2 deletions asApp/src/os/solaris/osdNfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ extern volatile int save_restoreDebug;
int mountFileSystem(char *uidhost, char *addr, char *path, char *mntpoint)
{
printf("NFS mounting for solaris is managed by OS\n");
return (OK);
return (ERROR);
}

/* Note: file system mounting is managed by Linux */
int dismountFileSystem(char *mntpoint)
{
printf("Not allowed to dismount for solaris\n");
return (OK);
return (ERROR);
}
Loading