diff --git a/src/lowntfs-3g.c b/src/lowntfs-3g.c index 8898ea4b..c22badb7 100644 --- a/src/lowntfs-3g.c +++ b/src/lowntfs-3g.c @@ -3826,6 +3826,10 @@ int main(int argc, char *argv[]) PATH_MAX - strlen(opts.mnt_point) - 1)) { strcat(ctx->abs_mnt_point, "/"); strcat(ctx->abs_mnt_point, opts.mnt_point); +#if defined(__sun) && defined (__SVR4) + /* Solaris also wants the absolute mount point */ + opts.mnt_point = ctx->abs_mnt_point; +#endif /* defined(__sun) && defined (__SVR4) */ } } } diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 7eb60ca5..6c827180 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -3681,6 +3681,10 @@ int main(int argc, char *argv[]) PATH_MAX - strlen(opts.mnt_point) - 1)) { strcat(ctx->abs_mnt_point, "/"); strcat(ctx->abs_mnt_point, opts.mnt_point); +#if defined(__sun) && defined (__SVR4) + /* Solaris also wants the absolute mount point */ + opts.mnt_point = ctx->abs_mnt_point; +#endif /* defined(__sun) && defined (__SVR4) */ } } }