On Mon, 21.07.14 11:36, Tom Gundersen (tome...@kemper.freedesktop.org) wrote:

> +        if (b->miimon != 0) {
> +                r = sd_rtnl_message_append_u32(m, IFLA_BOND_MIIMON,
> b->miimon / 1000);

We have these nice USEC_PER_MSEC-style macro definitions which make it a
little bit clearer what we are converting here from what into
what... please use that instead of writing "1000"...

(we stole those from gstreamer btw)

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to