* netlink.c (decode_netlink): Call printstrn
when family == NETLINK_KOBJECT_UEVENT.
---
 netlink.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/netlink.c b/netlink.c
index 2cc7967..c8ac58b 100644
--- a/netlink.c
+++ b/netlink.c
@@ -443,6 +443,12 @@ decode_netlink(struct tcb *const tcp,
               kernel_ulong_t len)
 {
        const int family = get_fd_nl_family(tcp, fd);
+
+       if (family == NETLINK_KOBJECT_UEVENT) {
+               printstrn(tcp, addr, len);
+               return;
+       }
+
        struct nlmsghdr nlmsghdr;
        bool print_array = false;
        unsigned int elt;
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to