2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

dpif-linux: Fix invalid format specifier.

This fixes the following warning on my system. "format '%d' expects
argument of type 'int', but argument 5 has type 'long int'"

Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
Ethan Jackson
2012-06-05 18:02:30 -07:00
parent 4f77c88676
commit aecfb4af7e

View File

@@ -1981,7 +1981,7 @@ report_loss(struct dpif *dpif_, struct dpif_channel *ch)
}
ds_chomp(&s, ',');
VLOG_ERR("%s: lost packet on channel %d%s",
VLOG_ERR("%s: lost packet on channel %td%s",
dpif_name(dpif_), ch - dpif->channels, ds_cstr(&s));
ds_destroy(&s);
}