X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=system-linux.c;h=432581eeb8e4e3fdc97a082af218b18cad4c8cb1;hb=1fe1d4f5e8c2e235a1ab4e0df8baa734142fe994;hp=e4041fbd8060f4c6487ddb8297cc83fdf019cfd9;hpb=fb1add3a991ef3aff54fcd87ee1185487f55f540;p=project%2Fnetifd.git diff --git a/system-linux.c b/system-linux.c index e4041fb..432581e 100644 --- a/system-linux.c +++ b/system-linux.c @@ -1036,7 +1036,7 @@ int system_bonding_set_device(struct device *dev, struct bonding_config *cfg) struct blob_attr *cur; char op = cfg ? '+' : '-'; char buf[64]; - int rem; + size_t rem; snprintf(dev_buf, sizeof(dev_buf), "%s/class/net/bonding_masters", sysfs_path); snprintf(buf, sizeof(buf), "%c%s", op, ifname);