diff options
author | Erwan Velu <erwanaliasr1@gmail.com> | 2011-09-21 21:44:47 +0200 |
---|---|---|
committer | Erwan Velu <erwanaliasr1@gmail.com> | 2011-09-22 22:44:33 +0200 |
commit | 51431d2c9992a99f58378056523256757edb0fb3 (patch) | |
tree | 19f902546852b1f9f8dba53370b560efb70f5336 | |
parent | 2d754907b6e824088b74a156b0dc2017323a2013 (diff) | |
download | syslinux-51431d2c9992a99f58378056523256757edb0fb3.tar.gz syslinux-51431d2c9992a99f58378056523256757edb0fb3.tar.xz syslinux-51431d2c9992a99f58378056523256757edb0fb3.zip |
hdt: Dumping disk failed when disk are present
When physical disks were present, the computed items were not flushed
and so not present on the disk file.
Thanks to pscheie for reporting this.
-rw-r--r-- | com32/hdt/hdt-dump-disks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-dump-disks.c b/com32/hdt/hdt-dump-disks.c index ef8cf220..bde04d2a 100644 --- a/com32/hdt/hdt-dump-disks.c +++ b/com32/hdt/hdt-dump-disks.c @@ -137,7 +137,7 @@ void dump_disks(struct s_hardware *hardware, ZZJSON_CONFIG *config, ZZJSON **ite if (found==false) { CREATE_NEW_OBJECT; add_b("disks->is_valid",false); - FLUSH_OBJECT; } + FLUSH_OBJECT; to_cpio("disks"); } |