summaryrefslogtreecommitdiffstats
path: root/loader2/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/init.c')
-rw-r--r--loader2/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/init.c b/loader2/init.c
index 91e19b1c9..8fb550c11 100644
--- a/loader2/init.c
+++ b/loader2/init.c
@@ -767,7 +767,7 @@ int main(int argc, char **argv) {
signal(SIGINT, sigintHandler);
if ((fd = open("/proc/sys/kernel/cad_pid", O_WRONLY)) != -1) {
char buf[7];
- int count;
+ size_t count;
sprintf(buf, "%d", getpid());
count = write(fd, buf, strlen(buf));
close(fd);