dmraid.patch 667 B

1234567891011121314151617181920
  1. --- 1.0.0.rc10/lib/device/scan.c.orig 2006-04-20 18:20:24.000000000 -0600
  2. +++ 1.0.0.rc10/lib/device/scan.c 2006-04-20 18:21:00.000000000 -0600
  3. @@ -66,7 +66,7 @@
  4. static char *ret = NULL, *sysfs_mp;
  5. if (!(sysfs_mp = find_sysfs_mp(lc)))
  6. - LOG_ERR(lc, NULL, "finding sysfs mount point");
  7. + { log_notice(lc, "finding sysfs mount point"); return NULL; }
  8. if ((ret = dbg_malloc(strlen(sysfs_mp) + strlen(path) + 1)))
  9. sprintf(ret, "%s%s", sysfs_mp, path);
  10. @@ -308,7 +308,7 @@
  11. } else {
  12. sysfs = 0;
  13. path = (char*) _PATH_DEV;
  14. - log_print(lc, "carrying on with %s", path);
  15. + log_notice(lc, "carrying on with %s", path);
  16. }
  17. if (!(d = opendir(path))) {