diff options
author | Collin Walling <walling@linux.ibm.com> | 2018-04-16 12:56:08 -0400 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2018-05-02 11:27:14 +0200 |
commit | 074afe60d4c8167dcfaee7aca1065c6360449eaa (patch) | |
tree | 4d860243718b454f3ac3501d10b90e8b04a40898 /.editorconfig | |
parent | 6df2a829dfacfbf10a78199ad4b023a7ea65d9cd (diff) |
pc-bios/s390-ccw: fix loadparm initialization and int conversion
Rename the loadparm char array in main.c to loadparm_str and
increased the size by one byte to account for a null termination
when converting the loadparm string to an int via atoui. We
also allow the boot menu to be enabled when loadparm is set to
an empty string or a series of spaces.
Signed-off-by: Collin Walling <walling@linux.ibm.com>
Reported-by: Vasily Gorbik <gor@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions