projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f122ed
)
Fix paths.c build warnings
author
Geoff Levand
<geoff@infradead.org>
Sun, 4 Dec 2011 23:46:33 +0000
(15:46 -0800)
committer
Geoff Levand
<geoff@infradead.org>
Mon, 5 Dec 2011 00:15:00 +0000
(16:15 -0800)
Signed-off-by: Geoff Levand <geoff@infradead.org>
discover/paths.c
patch
|
blob
|
history
diff --git
a/discover/paths.c
b/discover/paths.c
index fe7a87635fe7384642cb0400d2c4d4497032358a..c4036919bdf7e9ff05f4afa9389c96137d5bc8c3 100644
(file)
--- a/
discover/paths.c
+++ b/
discover/paths.c
@@
-58,9
+58,9
@@
char *encode_label(void *alloc_ctx, const char *label)
}
char *parse_device_path(void *alloc_ctx,
- const char *dev_str, const char *cur_dev)
+ const char *dev_str, const char
__attribute__((unused))
*cur_dev)
{
- char *dev,
tmp[256],
*enc;
+ char *dev, *enc;
if (is_prefix_ignorecase(dev_str, "uuid=")) {
dev = talloc_asprintf(alloc_ctx, "/dev/disk/by-uuid/%s",