summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/nvmutil/nvmutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 02f62304..5a28a9a7 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -345,6 +345,7 @@ cmd_swap(void)
gbeFileModified = 1;
nvmPartModified[0] = 1;
nvmPartModified[1] = 1;
+ errno = 0;
}
}