projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: fix multiple compiler warnings
[project/netifd.git]
/
system-linux.c
diff --git
a/system-linux.c
b/system-linux.c
index e4041fbd8060f4c6487ddb8297cc83fdf019cfd9..432581eeb8e4e3fdc97a082af218b18cad4c8cb1 100644
(file)
--- 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];
-
in
t 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);