mirror of
https://github.com/ericonr/util-linux.git
synced 2024-04-21 09:12:35 -05:00
lscpu: remove comma operator
Fix typo where the comma operator has been introduced. Use a semicolon instead so we end up with simple assignment expressions. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
parent
bb6f91636c
commit
c403ae6a1a
@ -1218,8 +1218,8 @@ int main(int argc, char *argv[])
|
|||||||
} else {
|
} else {
|
||||||
columns[ncolumns++] = COL_CPU;
|
columns[ncolumns++] = COL_CPU;
|
||||||
columns[ncolumns++] = COL_CORE;
|
columns[ncolumns++] = COL_CORE;
|
||||||
columns[ncolumns++] = COL_SOCKET,
|
columns[ncolumns++] = COL_SOCKET;
|
||||||
columns[ncolumns++] = COL_NODE,
|
columns[ncolumns++] = COL_NODE;
|
||||||
columns[ncolumns++] = COL_CACHE;
|
columns[ncolumns++] = COL_CACHE;
|
||||||
compatible = 1;
|
compatible = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user