summaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/loader/loader.c b/loader/loader.c
index f2942a4..979937f 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -10,14 +10,14 @@
* from the use of this software.
*/
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <limits.h>
#ifndef PATH_MAX
-#define PATH_MAX 16384
+#define PATH_MAX 16384
#endif
#ifndef LINKER
@@ -28,7 +28,8 @@
#error LIBGCOMPAT must be defined
#endif
-int main(int argc, char *argv[], char *envp[]) {
+int main(int argc, char *argv[], char *envp[])
+{
size_t i = 0;
char target[PATH_MAX];
char **new_argv = calloc(sizeof(char *), argc + 5);