-static char* add_fsname_option(char* options, const char* spec)
-{
- char spec_abs[PATH_MAX];
-
- if (realpath(spec, spec_abs) == NULL)
- {
- free(options);
- exfat_error("failed to get absolute path for `%s'", spec);
- return NULL;
- }
- return add_option(options, "fsname", spec_abs);
-}
-