aboutsummaryrefslogtreecommitdiff
path: root/datapath/flow_netlink.c
diff options
context:
space:
mode:
authorDaniele Di Proietto <daniele.di.proietto@gmail.com>2014-01-23 23:26:42 +0100
committerJesse Gross <jesse@nicira.com>2014-02-03 14:05:30 -0800
commit29dd5cb732fe935246475811cdc9f2a3ac785435 (patch)
tree3f6c644fed843f6076baaeaab84f07e277aa61ac /datapath/flow_netlink.c
parent61df3421651dc0b9c12c1f22418a1769ba52c740 (diff)
datapath: Added (unsigned long long) cast in printf
This is necessary, since u64 is not unsigned long long in all architectures: u64 could be also uint64_t. Signed-off-by: Daniele Di Proietto <daniele.di.proietto@gmail.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'datapath/flow_netlink.c')
-rw-r--r--datapath/flow_netlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath/flow_netlink.c b/datapath/flow_netlink.c
index 3106fc9e2..f509a8c85 100644
--- a/datapath/flow_netlink.c
+++ b/datapath/flow_netlink.c
@@ -216,14 +216,14 @@ static bool match_validate(const struct sw_flow_match *match,
if ((key_attrs & key_expected) != key_expected) {
/* Key attributes check failed. */
OVS_NLERR("Missing expected key attributes (key_attrs=%llx, expected=%llx).\n",
- key_attrs, key_expected);
+ (unsigned long long)key_attrs, (unsigned long long)key_expected);
return false;
}
if ((mask_attrs & mask_allowed) != mask_attrs) {
/* Mask attributes check failed. */
OVS_NLERR("Contain more than allowed mask fields (mask_attrs=%llx, mask_allowed=%llx).\n",
- mask_attrs, mask_allowed);
+ (unsigned long long)mask_attrs, (unsigned long long)mask_allowed);
return false;
}