diff options
author | Leah Rowe <leah@libreboot.org> | 2022-11-26 23:50:04 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2022-11-26 23:50:04 +0000 |
commit | 55a951a718e93e29df26f4ebf0eda336dedf9684 (patch) | |
tree | e6d528e27c375c79b3bc90f26a612bb14c91a3ed /util | |
parent | 0108615f3729408b72c42db02df0e467a132a05b (diff) |
util/nvmutil: fix off by one bug
Diffstat (limited to 'util')
-rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index 517604f1..ad9e24e4 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -358,7 +358,7 @@ cmd_copy(void) gbe + (part << 12), SIZE_4KB); gbeFileModified = 1; - nvmPartModified[part] = 1; + nvmPartModified[part ^ 1] = 1; } } |