aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_thinint.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2019-06-26 13:06:58 +0300
committerVasily Gorbik <gor@linux.ibm.com>2019-07-02 16:00:26 +0200
commit83eb1a415023e6489bf5adb467f20156722172f0 (patch)
tree6fe068f61d33c04893440e95f520f0621056229a /drivers/s390/cio/qdio_thinint.c
parents390/cio: introduce driver_override on the css bus (diff)
downloadlinux-dev-83eb1a415023e6489bf5adb467f20156722172f0.tar.xz
linux-dev-83eb1a415023e6489bf5adb467f20156722172f0.zip
s390/dasd: Fix a precision vs width bug in dasd_feature_list()
The "len" variable is the length of the option up to the next option or to the end of the string which ever first. We want to print the invalid option so we want precision "%.*s" but the format is width "%*s" so it prints up to the end of the string. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Tested-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions