From: Robert Swiecki Date: Mon, 29 Feb 2016 17:56:52 +0000 (+0100) Subject: Indent/Depend X-Git-Tag: 1.1~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=466f49e16d76bb71fb9c6b8a8ec44a6e68a5a226;p=platform%2Fupstream%2Fnsjail.git Indent/Depend --- diff --git a/Makefile b/Makefile index 53b624f..b9c8e84 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ indent: nsjail.o: nsjail.h cmdline.h common.h log.h net.h subproc.h cmdline.o: cmdline.h common.h log.h util.h -contain.o: contain.h common.h log.h +contain.o: contain.h common.h log.h net.h util.h log.o: log.h common.h net.o: net.h common.h log.h subproc.o: subproc.h common.h contain.h log.h net.h sandbox.h util.h diff --git a/net.c b/net.c index 00f153f..0c52c84 100644 --- a/net.c +++ b/net.c @@ -98,7 +98,8 @@ bool netCloneMacVtapAndNS(struct nsjconf_t *nsjconf, int pid) char *const argv_add[] = { "ip", "link", "add", "link", (char *)nsjconf->iface, "name", IFACE_NAME, "netns", -pid_str, "type", "macvlan", "mode", "bridge", NULL }; + pid_str, "type", "macvlan", "mode", "bridge", NULL + }; if (netSystemSbinIp(nsjconf, argv_add) == false) { LOG_E("Couldn't create MACVTAP interface for '%s'", nsjconf->iface); return false;