diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-10-29 16:34:27 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-10-29 16:34:27 (GMT) |
commit | cc22992d0c33abba42d94fb9489411f762cd70eb (patch) | |
tree | 3d3e135fcc5818ebb7785bce8dc967e1ea3b69f3 /lib/msg.c | |
parent | f703192a4f3463352dab1a24868343bb7473607b (diff) | |
download | libnl-cc22992d0c33abba42d94fb9489411f762cd70eb.zip libnl-cc22992d0c33abba42d94fb9489411f762cd70eb.tar.gz libnl-cc22992d0c33abba42d94fb9489411f762cd70eb.tar.bz2 |
Improved debugging messages while constructing messages/attributes
Diffstat (limited to 'lib/msg.c')
-rw-r--r-- | lib/msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -529,8 +529,8 @@ void *nlmsg_reserve(struct nl_msg *n, size_t len, int pad) if (tlen > len) memset(buf + len, 0, tlen - len); - NL_DBG(2, "msg %p: Reserved %zu bytes, pad=%d, nlmsg_len=%d\n", - n, len, pad, n->nm_nlh->nlmsg_len); + NL_DBG(2, "msg %p: Reserved %zu (%zu) bytes, pad=%d, nlmsg_len=%d\n", + n, tlen, len, pad, n->nm_nlh->nlmsg_len); return buf; } |