libkmod: modinfo: fix sig_id output
authorYauheni Kaliuta <yauheni.kaliuta@redhat.com>
Tue, 11 Apr 2017 12:15:00 +0000 (15:15 +0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 11 Apr 2017 16:04:28 +0000 (09:04 -0700)
commit30fb14f3c81ec5b0a5ef5b4b1c998a7de5420328
treeaf070f2597e59ff7a6d3d13d7718c87536dfa5b7
parentef4257b59c4307b8c627d89f3c7f1feedb32582f
libkmod: modinfo: fix sig_id output

For some reason the key for sig_id was set to "signature". The
length was calculated against the proper string, as the result in
the output it was truncated to "signat".

Pass the proper key to the kmod_module_info_append() call.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
libkmod/libkmod-module.c