git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
489e4d8
)
helper: Fix error message when modules.dep is not found.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 6 Jun 2011 16:07:23 +0000
(17:07 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 6 Jun 2011 16:07:23 +0000
(17:07 +0100)
helper/ext2initrd.c
patch
|
blob
|
history
diff --git
a/helper/ext2initrd.c
b/helper/ext2initrd.c
index
13e429c
..
da4bf48
100644
(file)
--- a/
helper/ext2initrd.c
+++ b/
helper/ext2initrd.c
@@
-175,7
+175,7
@@
read_module_deps (const char *modpath)
char *filename = xasprintf ("%s/modules.dep", modpath);
FILE *fp = fopen (filename, "r");
if (fp == NULL)
- error (EXIT_FAILURE, errno, "open: %s", modpath);
+ error (EXIT_FAILURE, errno, "open: %s
/modules.dep
", modpath);
char *line = NULL;
size_t llen = 0;