From f3de356810fd245eb1db92713f257c48e01fcda0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Oct 1994 17:15:23 +0000 Subject: [PATCH] GNU file utilities --- lib/Makefile.in | 2 +- lib/mountlist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Makefile.in b/lib/Makefile.in index e1388ff90..9c7cab928 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 91d18b8c3..b2ed4406f 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 -- 2.11.0