]> granicus.if.org Git - strace/blobdiff - netlink_smc_diag.c
nlattr: add UID/GID netlink attribute decoders
[strace] / netlink_smc_diag.c
index 2cd07ee0008243415c36778064e9ccf8bbc96f3b..53ae27ba85442fc50fe9474fb2b75dfbf8d0c0d7 100644 (file)
@@ -177,7 +177,7 @@ DECL_NETLINK_DIAG_DECODER(decode_smc_diag_msg)
                tprints("...");
        tprints("}");
 
-       offset = NLA_ALIGN(sizeof(msg));
+       offset = NLMSG_ALIGN(sizeof(msg));
        if (decode_nla && len > offset) {
                tprints(", ");
                decode_nlattr(tcp, addr + offset, len - offset,