OSDN Git Service

diskconfig: Fix disk_layout.conf size parsing
authorAndrew Boie <andrew.p.boie@intel.com>
Fri, 11 Nov 2011 01:58:05 +0000 (17:58 -0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 6 May 2017 14:51:40 +0000 (22:51 +0800)
commit972714b645f6786290baac799c34a4ba9eb3075e
tree671873bdfec4a94d9bbe317d8d89811ab0dfdd81
parent4fdbb49def7a8dfc2c5a9f86d5437a90c13a7c72
diskconfig: Fix disk_layout.conf size parsing

If the user was appending 'K' to their lengths (which is valid
but redundant) it was being treated as megabytes instead of
kilobytes.

Change-Id: I979ec4d01f1342de1f3209b946201ca87bad32a7
libdiskconfig/diskconfig.c