]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsfd: cosmetic changes
authorMasatake YAMATO <yamato@redhat.com>
Fri, 2 Sep 2022 20:32:12 +0000 (05:32 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Thu, 8 Sep 2022 18:05:00 +0000 (03:05 +0900)
Align the column of members in a structure initializer.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
misc-utils/lsfd.c

index dd38dc2a9f924cfcac2ff4fab8eebfba033396f8..4bd6016417ef4bf1d25b427b58341c2fb2c2a74c 100644 (file)
@@ -134,7 +134,7 @@ static struct colinfo infos[] = {
                N_("ID of device containing file") },
        [COL_DEVTYPE] = { "DEVTYPE",  0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
                N_("device type (blk, char, or nodev)") },
-       [COL_ENDPOINTS] ={"ENDPOINTS",0,  SCOLS_FL_WRAP, SCOLS_JSON_STRING,
+       [COL_ENDPOINTS] ={"ENDPOINTS",0, SCOLS_FL_WRAP, SCOLS_JSON_STRING,
                N_("IPC endpoints information communicated with the fd") },
        [COL_FLAGS]   = { "FLAGS",    0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
                N_("flags specified when opening the file") },
@@ -144,7 +144,7 @@ static struct colinfo infos[] = {
                N_("user ID number of the file's owner") },
        [COL_INODE]   = { "INODE",    0, SCOLS_FL_RIGHT, SCOLS_JSON_NUMBER,
                N_("inode number") },
-       [COL_KTHREAD] = { "KTHREAD",    0, SCOLS_FL_RIGHT, SCOLS_JSON_BOOLEAN,
+       [COL_KTHREAD] = { "KTHREAD",  0, SCOLS_FL_RIGHT, SCOLS_JSON_BOOLEAN,
                N_("opened by a kernel thread") },
        [COL_MAJMIN]  = { "MAJ:MIN",  0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
                N_("device ID for special, or ID of device containing file") },
@@ -160,7 +160,7 @@ static struct colinfo infos[] = {
                N_("name of the file") },
        [COL_NLINK]   = { "NLINK",    0, SCOLS_FL_RIGHT, SCOLS_JSON_NUMBER,
                N_("link count") },
-       [COL_OWNER]   = { "OWNER",     0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
+       [COL_OWNER]   = { "OWNER",    0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
                N_("owner of the file") },
        [COL_PID]     = { "PID",      5, SCOLS_FL_RIGHT, SCOLS_JSON_NUMBER,
                N_("PID of the process opening the file") },
@@ -174,7 +174,7 @@ static struct colinfo infos[] = {
                N_("device ID (if special file)") },
        [COL_SIZE]    = { "SIZE",     4, SCOLS_FL_RIGHT, SCOLS_JSON_NUMBER,
                N_("file size"), },
-       [COL_SOURCE] = { "SOURCE",  0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
+       [COL_SOURCE] = { "SOURCE",    0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING,
                N_("file system, partition, or device containing file") },
        [COL_TID]    = { "TID",       5, SCOLS_FL_RIGHT, SCOLS_JSON_NUMBER,
                N_("thread ID of the process opening the file") },