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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user