Re: [PATCH] rfkill: Set scols table name to make the json output valid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 06, 2021 at 06:28:35PM +0200, Nicolai Dagestad wrote:
> Hi, I just noticed that the json input for rfkill is invalid.
> The array member of the top-level object, should be named but it wasn't.

I have also improve libsmartcols to not use unnamed array for the
top-level object. It seems better to use emptry string ("") than
nothing.

> I am not familiar with the codease so I just followed what I saw in lscpu,
> if another name would be prefered I can change it.

Changed to "rfkilldevices".

>  sys-utils/rfkill.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks!

 karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux