summaryrefslogtreecommitdiff
path: root/package/xfsprogs/patches/patch-fsr_xfs_fsr_c
blob: 9a305b9e55b4b1f4ce25f6ce86855c7d2876352a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- xfsprogs-3.0.0.orig/fsr/xfs_fsr.c	2009-02-04 23:29:25.000000000 +0100
+++ xfsprogs-3.0.0/fsr/xfs_fsr.c	2009-12-12 00:53:17.000000000 +0100
@@ -275,7 +275,7 @@ main(int argc, char **argv)
 						progname, mtab);
 					exit(1);
 				}
-				bzero(&mntpref, sizeof(mntpref));
+				memset(&mntpref, 0, sizeof(mntpref));
 				if (S_ISDIR(sb.st_mode))
 					mntpref.mnt_dir = argname;
 				else