File: verbose_missing_bin

package info (click to toggle)
kmod 18-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,092 kB
  • ctags: 1,586
  • sloc: ansic: 13,387; xml: 1,848; makefile: 430; sh: 209; python: 7
file content (25 lines) | stat: -rw-r--r-- 687 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Report an error when some .bin files do not exist
Author: Marco d'Itri <md@linux.it>
Bug-Debian: http://bugs.debian.org/684901
---

--- a/libkmod/libkmod.c
+++ b/libkmod/libkmod.c
@@ -502,7 +502,7 @@ int kmod_lookup_alias_from_builtin_file(
 
 		idx = index_file_open(fn);
 		if (idx == NULL) {
-			DBG(ctx, "could not open builtin file '%s'\n", fn);
+			ERR(ctx, "could not open builtin file '%s'\n", fn);
 			goto finish;
 		}
 
@@ -551,7 +551,7 @@ char *kmod_search_moddep(struct kmod_ctx
 
 	idx = index_file_open(fn);
 	if (idx == NULL) {
-		DBG(ctx, "could not open moddep file '%s'\n", fn);
+		ERR(ctx, "could not open moddep file '%s'\n", fn);
 		return NULL;
 	}