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