]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsblk: Remove extra whitespace in debug message
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 20 Mar 2026 10:51:58 +0000 (11:51 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 31 Mar 2026 11:07:05 +0000 (13:07 +0200)
The ul_debugobj function already takes care of initial whitespace.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
misc-utils/lsblk.c

index 6a8769bc7838124ee50ac20a2ff91f00018c46b5..d6954f1af8e34036b74b754e51f7d77d5649ef64 100644 (file)
@@ -1318,7 +1318,7 @@ static void device_to_scols(
 
 
        DBG(DEV, ul_debugobj(dev, "add '%s' to scols", dev->name));
-       ON_DBG(DEV, if (ul_path_isopen_dirfd(dev->sysfs)) ul_debugobj(dev, " %s ---> is open!", dev->name));
+       ON_DBG(DEV, if (ul_path_isopen_dirfd(dev->sysfs)) ul_debugobj(dev, "%s ---> is open!", dev->name));
 
        if (!parent && dev->wholedisk)
                parent = dev->wholedisk;