diff options
author | Sami Kerola | 2017-02-11 20:01:08 +0100 |
---|---|---|
committer | Karel Zak | 2017-02-20 12:58:12 +0100 |
commit | e948f4b616d02576032e8e9960d1241a77fe4e8d (patch) | |
tree | 63fedd6c970e7f6e8462d4075cdbb2eaedb59b9c /login-utils/chfn.c | |
parent | tests: make sfdisk wipe partition optional (diff) | |
download | kernel-qcow2-util-linux-e948f4b616d02576032e8e9960d1241a77fe4e8d.tar.gz kernel-qcow2-util-linux-e948f4b616d02576032e8e9960d1241a77fe4e8d.tar.xz kernel-qcow2-util-linux-e948f4b616d02576032e8e9960d1241a77fe4e8d.zip |
cfdisk: avoid use of VLA in combination with sizeof() [smatch scan]
disk-utils/cfdisk.c:1066:29: error: cannot size expression
One should use sizeof() only when variable size can be known at time of
compilation. That is not the case with variable length arrays.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'login-utils/chfn.c')
0 files changed, 0 insertions, 0 deletions