summaryrefslogtreecommitdiffstats
path: root/init/init.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-03-11 12:31:53 -0700
committerElliott Hughes <enh@google.com>2015-03-11 12:31:53 -0700
commit58c3bacc38072dafa77e5d33bffa4d3a2a4d2562 (patch)
tree935e8881bc522034f09086b61694d3eef762cae0 /init/init.cpp
parenta4d98484a2b64d215d1d35830693a16cf2873308 (diff)
downloadcore-58c3bacc38072dafa77e5d33bffa4d3a2a4d2562.tar.gz
core-58c3bacc38072dafa77e5d33bffa4d3a2a4d2562.tar.bz2
core-58c3bacc38072dafa77e5d33bffa4d3a2a4d2562.zip
Fix a printf format string (caught by clang but not GCC).
Change-Id: I665756615eef74b05ef92f5865d910f29ead0695
Diffstat (limited to 'init/init.cpp')
-rw-r--r--init/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.cpp b/init/init.cpp
index 579d0e702..e0906209b 100644
--- a/init/init.cpp
+++ b/init/init.cpp
@@ -366,7 +366,7 @@ void service_start(struct service *svc, const char *dynamic_args)
svc->flags |= SVC_RUNNING;
if ((svc->flags & SVC_EXEC) != 0) {
- INFO("SVC_EXEC pid %d (uid %d gid %d+%d context %s) started; waiting...\n",
+ INFO("SVC_EXEC pid %d (uid %d gid %d+%zu context %s) started; waiting...\n",
svc->pid, svc->uid, svc->gid, svc->nr_supp_gids, svc->seclabel);
waiting_for_exec = true;
}