diff options
author | Max Rees <maxcrees@me.com> | 2020-06-03 06:05:05 -0500 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2020-06-03 06:05:05 -0500 |
commit | 6d9840c6a8eb23b7a8de4436b50c00490f337482 (patch) | |
tree | ff9aa0a01decd549e9af4a55fbd6b0a8c0d88a61 /image/backends | |
parent | a35b8fb842aea68c0b374b651d385344fadaa04e (diff) | |
download | horizon-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/backends')
-rw-r--r-- | image/backends/iso.cc | 2 |
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); } } } |