patch-fsr_xfs_fsr_c 392 B

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