]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: adjust column width for COMMAND
authorMasatake YAMATO <yamato@redhat.com>
Tue, 4 May 2021 17:50:51 +0000 (02:50 +0900)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Oct 2021 09:01:53 +0000 (11:01 +0200)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c

index 0f315ce0c9bc83f039b7823247e28f0da52e9a51..c9952d73e6565835d737a957b6f4f312f630a45e 100644 (file)
@@ -78,7 +78,7 @@ struct colinfo {
 static struct colinfo infos[] = {
        [COL_ASSOC]   = { "ASSOC",    0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
                N_("association between file and process") },
-       [COL_COMMAND] = { "COMMAND", 15, 0,              SCOLS_JSON_STRING,
+       [COL_COMMAND] = { "COMMAND", 15, SCOLS_FL_TRUNC, SCOLS_JSON_STRING,
                N_("command of the process opening the file") },
        [COL_DELETED] = { "DELETED",  0, SCOLS_FL_RIGHT, SCOLS_JSON_BOOLEAN,
                N_("reachability from the file system") },