From 2ff981cbabd91d2993a6173be662a1f52ee8c719 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 30 Mar 2016 21:41:56 +0200 Subject: [PATCH] remove white spaces --- hermit/tools/proxy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hermit/tools/proxy.c b/hermit/tools/proxy.c index 7d424eaa6..6d8d6aba5 100644 --- a/hermit/tools/proxy.c +++ b/hermit/tools/proxy.c @@ -112,7 +112,7 @@ static int load_elf(int dest_fd, int elf_fd) if (gelf_getphdr(elf, i, &phdr) != & phdr ) continue; - + if (phdr.p_type != PT_LOAD) continue; offset = phdr.p_offset; @@ -120,7 +120,7 @@ static int load_elf(int dest_fd, int elf_fd) if (ret != phdr.p_filesz || offset != phdr.p_offset + phdr.p_filesz) goto out; } - + ret = 0; out: elf_end(elf); @@ -164,7 +164,7 @@ static int load_bin(const char *app) fprintf(file, "%s", fname); fclose(file); - + out: close(tmp_fd); close(elf_fd); @@ -205,7 +205,7 @@ static int init_env(const char *path) if (isle_nr > 254) isle_nr = 0; } - + // load application ret = load_bin(path); if (ret) {