From: Masatake YAMATO Date: Fri, 9 Sep 2022 17:11:52 +0000 (+0900) Subject: lsfd: cosmetic change X-Git-Tag: v2.39-rc1~527^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2df0e6fe6b78add2c3fc4c5b4dcd6739361a620d;p=thirdparty%2Futil-linux.git lsfd: cosmetic change Sort the elements in "struct colinfo infos" array literal. Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index 9981b6a363..ce39bf0695 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -167,10 +167,10 @@ static struct colinfo infos[] = { N_("link count") }, [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") }, [COL_PARTITION]={ "PARTITION",0, SCOLS_FL_RIGHT, SCOLS_JSON_STRING, N_("block device name resolved by /proc/partition") }, + [COL_PID] = { "PID", 5, SCOLS_FL_RIGHT, SCOLS_JSON_NUMBER, + N_("PID of the process opening the file") }, [COL_PIDFD_COMM]={"PIDFD.COMM",0.2,SCOLS_FL_TRUNC,SCOLS_JSON_STRING, N_("command of the process targeted by the pidfd") }, [COL_PIDFD_NSPID]={"PIDFD.NSPID",0.2,SCOLS_FL_TRUNC,SCOLS_JSON_STRING,