]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (lsfd/column-source-btrfs) extract a minor number in a more reliable way
authorMasatake YAMATO <yamato@redhat.com>
Sat, 13 Sep 2025 00:09:09 +0000 (09:09 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sat, 13 Sep 2025 00:20:57 +0000 (09:20 +0900)
commitb855ee731107dc46fc8c0656bbbde6203beba0d9
tree14c14f138702ba3789be0f763f78aff2df3d9abd
parentb1f8b5740d81d813a2ea9ae1db8f059e5bee3b60
tests: (lsfd/column-source-btrfs) extract a minor number in a more reliable way

This change fixes a potential bug in the test case.

The original code used the %d of stat command to extract the device minor
number for a file based on a wrong assumption. Use %Ld instead.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/ts/lsfd/column-source-btrfs