[PATCH] Fix an old typo in zeroing out a PReP partition. (#1072781)
David Lehman
dlehman at redhat.com
Thu Mar 6 18:41:11 UTC 2014
---
blivet/formats/prepboot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/formats/prepboot.py b/blivet/formats/prepboot.py
index c7ed111..e4ba047 100644
--- a/blivet/formats/prepboot.py
+++ b/blivet/formats/prepboot.py
@@ -66,7 +66,7 @@ class PPCPRePBoot(DeviceFormat):
os.write(fd, buf)
length -= len(buf)
else:
- buf = '0' * length
+ buf = '\0' * length
os.write(fd, buf)
length = 0
os.close(fd)
--
1.8.5.3
More information about the anaconda-patches
mailing list