]> granicus.if.org Git - strace/blobdiff - netlink_packet_diag.c
Remove linux/ptp_clock.h
[strace] / netlink_packet_diag.c
index 94eff1df839a48cea182d0e18c034dc840225135..8a69d4ccfd986c3c77556aef3833a6a0baf3669c 100644 (file)
@@ -199,7 +199,7 @@ DECL_NETLINK_DIAG_DECODER(decode_packet_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,