diff options
author | Heiko Carstens | 2011-09-06 02:52:52 +0200 |
---|---|---|
committer | Karel Zak | 2011-09-09 06:24:12 +0200 |
commit | c403ae6a1a50e11e99f42c6f7728368bbec34abc (patch) | |
tree | f6d07592e828ac35c6d162e7a8a0514bbcb738b2 | |
parent | mount: fix compiler warning [-Wunused-parameter] (diff) | |
download | kernel-qcow2-util-linux-c403ae6a1a50e11e99f42c6f7728368bbec34abc.tar.gz kernel-qcow2-util-linux-c403ae6a1a50e11e99f42c6f7728368bbec34abc.tar.xz kernel-qcow2-util-linux-c403ae6a1a50e11e99f42c6f7728368bbec34abc.zip |
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>
-rw-r--r-- | sys-utils/lscpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index ec269deee..f6641463f 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -1218,8 +1218,8 @@ int main(int argc, char *argv[]) } else { columns[ncolumns++] = COL_CPU; columns[ncolumns++] = COL_CORE; - columns[ncolumns++] = COL_SOCKET, - columns[ncolumns++] = COL_NODE, + columns[ncolumns++] = COL_SOCKET; + columns[ncolumns++] = COL_NODE; columns[ncolumns++] = COL_CACHE; compatible = 1; } |