aboutsummaryrefslogtreecommitdiffstats
path: root/src/fldd/main.c
diff options
context:
space:
mode:
authorLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2017-11-19 15:02:42 -0600
committerLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2017-11-19 15:02:42 -0600
commitb936e5ab77dfa0b54b2f6f6dd53762a8244e4230 (patch)
treeedb7237ba54d7c2a85a8531c8901d6466c5e0e4d /src/fldd/main.c
parentMore qtox profile tightening (diff)
downloadfirejail-b936e5ab77dfa0b54b2f6f6dd53762a8244e4230.tar.gz
firejail-b936e5ab77dfa0b54b2f6f6dd53762a8244e4230.tar.zst
firejail-b936e5ab77dfa0b54b2f6f6dd53762a8244e4230.zip
strip trailing whitespace
Diffstat (limited to 'src/fldd/main.c')
-rw-r--r--src/fldd/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fldd/main.c b/src/fldd/main.c
index 8e5b2bcb5..4439c6509 100644
--- a/src/fldd/main.c
+++ b/src/fldd/main.c
@@ -115,7 +115,7 @@ static void copy_libs_for_exe(const char *exe) {
115 fprintf(stderr, "Warning fldd: cannot open %s, skipping...\n", exe); 115 fprintf(stderr, "Warning fldd: cannot open %s, skipping...\n", exe);
116 return; 116 return;
117 } 117 }
118 118
119 struct stat s; 119 struct stat s;
120 char *base = NULL, *end; 120 char *base = NULL, *end;
121 if (fstat(f, &s) == -1) 121 if (fstat(f, &s) == -1)
@@ -217,7 +217,7 @@ static void copy_libs_for_exe(const char *exe) {
217 close: 217 close:
218 if (base) 218 if (base)
219 munmap(base, s.st_size); 219 munmap(base, s.st_size);
220 220
221 close(f); 221 close(f);
222} 222}
223 223
@@ -335,7 +335,7 @@ printf("\n");
335 usage(); 335 usage();
336 return 0; 336 return 0;
337 } 337 }
338 338
339 int fd = STDOUT_FILENO; 339 int fd = STDOUT_FILENO;
340 // attempt to open the file 340 // attempt to open the file
341 if (argc == 3) { 341 if (argc == 3) {