OSDN Git Service
(root)
/
android-x86
/
external-efibootmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c43d455
)
Actually /set/ the values we're using to the results of parsing the number.
author
Peter Jones
<pjones@redhat.com>
Tue, 21 Oct 2014 20:02:13 +0000
(16:02 -0400)
committer
Peter Jones
<pjones@redhat.com>
Tue, 21 Oct 2014 20:08:18 +0000
(16:08 -0400)
This should fix https://github.com/vathpela/efibootmgr/issues/18
Signed-off-by: Peter Jones <pjones@redhat.com>
src/efibootmgr/efibootmgr.c
patch
|
blob
|
history
diff --git
a/src/efibootmgr/efibootmgr.c
b/src/efibootmgr/efibootmgr.c
index
546b55c
..
85dc73e
100644
(file)
--- a/
src/efibootmgr/efibootmgr.c
+++ b/
src/efibootmgr/efibootmgr.c
@@
-1086,7
+1086,7
@@
parse_opts(int argc, char **argv)
exit(1);
}
- opts.bootnum =
num
;
+ opts.bootnum =
result
;
break;
}
case 'c':
@@
-1140,7
+1140,7
@@
parse_opts(int argc, char **argv)
exit(1);
}
- opts.acpi_hid =
num
;
+ opts.acpi_hid =
result
;
break;
}
case 'i':
@@
-1229,7
+1229,7
@@
parse_opts(int argc, char **argv)
exit(1);
}
- opts.acpi_uid =
num
;
+ opts.acpi_uid =
result
;
break;
}
case 'v':