diff options
-rw-r--r-- | lib/Makefile.in | 2 | ||||
-rw-r--r-- | lib/mountlist.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in index e1388ff901..9c7cab928d 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -40,7 +40,7 @@ fileblocks.c fnmatch.c ftruncate.c mkdir.c mktime.c rename.c rmdir.c stpcpy.c \ strdup.c strstr.c alloca.c long-options.c OBJECTS = getdate.o posixtm.o \ -argmatch.o backupfile.o basename.o dirname.o eaccess.o \ +argmatch.o backupfile.o basename.o dirname.o \ error.o filemode.o full-write.o getopt.o getopt1.o \ getversion.o group-member.o idcache.o isdir.o long-options.o makepath.o \ modechange.o safe-read.o safe-stat.o safe-lstat.o savedir.o \ diff --git a/lib/mountlist.c b/lib/mountlist.c index 91d18b8c3a..b2ed4406fe 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -252,7 +252,7 @@ read_filesystem_list (need_fs_type, all_fs) me->me_devname = xstrdup (fsp->f_mntfromname); me->me_mountdir = xstrdup (fsp->f_mntonname); #ifdef __NetBSD__ - me->me_type = fsp->f_fstypename; + me->me_type = xstrdup (fsp->f_fstypename); #else me->me_type = fstype_to_string (fsp->f_type); #endif |