Blame SOURCES/0001-Actually-set-the-values-we-re-using-to-the-results-o.patch

c9eda1
From 70030c8fb08ae523204170cf3cc5918c0f6ba4a7 Mon Sep 17 00:00:00 2001
c9eda1
From: Peter Jones <pjones@redhat.com>
c9eda1
Date: Tue, 21 Oct 2014 16:02:13 -0400
c9eda1
Subject: [PATCH] Actually /set/ the values we're using to the results of
c9eda1
 parsing the number.
c9eda1
c9eda1
This should fix https://github.com/vathpela/efibootmgr/issues/18
c9eda1
c9eda1
Signed-off-by: Peter Jones <pjones@redhat.com>
c9eda1
---
c9eda1
 src/efibootmgr/efibootmgr.c | 6 +++---
c9eda1
 1 file changed, 3 insertions(+), 3 deletions(-)
c9eda1
c9eda1
diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
c9eda1
index 546b55c..85dc73e 100644
c9eda1
--- a/src/efibootmgr/efibootmgr.c
c9eda1
+++ b/src/efibootmgr/efibootmgr.c
c9eda1
@@ -1086,7 +1086,7 @@ parse_opts(int argc, char **argv)
c9eda1
 				exit(1);
c9eda1
 			}
c9eda1
 
c9eda1
-			opts.bootnum = num;
c9eda1
+			opts.bootnum = result;
c9eda1
 			break;
c9eda1
 		}
c9eda1
 		case 'c':
c9eda1
@@ -1140,7 +1140,7 @@ parse_opts(int argc, char **argv)
c9eda1
 				exit(1);
c9eda1
 			}
c9eda1
 
c9eda1
-			opts.acpi_hid = num;
c9eda1
+			opts.acpi_hid = result;
c9eda1
 			break;
c9eda1
 		}
c9eda1
 		case 'i':
c9eda1
@@ -1229,7 +1229,7 @@ parse_opts(int argc, char **argv)
c9eda1
 				exit(1);
c9eda1
 			}
c9eda1
 
c9eda1
-			opts.acpi_uid = num;
c9eda1
+			opts.acpi_uid = result;
c9eda1
 			break;
c9eda1
 		}
c9eda1
 		case 'v':
c9eda1
-- 
c9eda1
2.4.3
c9eda1