]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapon: don't use empty strings for smartcols output
authorKarel Zak <kzak@redhat.com>
Tue, 22 Jul 2014 10:24:56 +0000 (12:24 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 22 Jul 2014 10:24:56 +0000 (12:24 +0200)
commit7c1fa4691fc40540450638bc9c15d9bd8f8d07cc
tree9513f3423d18b06d5ca7dde882b0b9ffff9b5329
parent5db57cfc469b45ada0162a64d627ce25a3d2431f
swapon: don't use empty strings for smartcols output

The libsmartcols is smart enough to accept NULL for empty fields
rather than empty strings.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/swapon.c