summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-06-03 06:05:05 -0500
committerMax Rees <maxcrees@me.com>2020-06-03 06:05:05 -0500
commit6d9840c6a8eb23b7a8de4436b50c00490f337482 (patch)
treeff9aa0a01decd549e9af4a55fbd6b0a8c0d88a61 /image
parenta35b8fb842aea68c0b374b651d385344fadaa04e (diff)
downloadhorizon-6d9840c6a8eb23b7a8de4436b50c00490f337482.tar.gz
horizon-6d9840c6a8eb23b7a8de4436b50c00490f337482.tar.bz2
horizon-6d9840c6a8eb23b7a8de4436b50c00490f337482.tar.xz
horizon-6d9840c6a8eb23b7a8de4436b50c00490f337482.zip
image: ensure entire line from iso-params file is read
Diffstat (limited to 'image')
-rw-r--r--image/backends/iso.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/backends/iso.cc b/image/backends/iso.cc
index 4563c97..004cba8 100644
--- a/image/backends/iso.cc
+++ b/image/backends/iso.cc
@@ -407,7 +407,7 @@ public:
if(!params) {
output_warning("CD backend", "couldn't read ISO params");
} else {
- params >> raw_arch;
+ std::getline(params, raw_arch);
}
}
}