patch-mount_sundries_c 408 B

1234567891011
  1. --- util-linux-ng-2.15.orig/mount/sundries.c 2009-03-25 13:20:18.000000000 +0100
  2. +++ util-linux-ng-2.15/mount/sundries.c 2009-06-22 22:59:31.000000000 +0200
  3. @@ -157,7 +157,7 @@ matching_type (const char *type, const c
  4. if (strncmp(p, type, len) == 0 &&
  5. (p[len] == 0 || p[len] == ','))
  6. return !no;
  7. - p = index(p,',');
  8. + p = strchr(p,',');
  9. if (!p)
  10. break;
  11. p++;