aboutgitcodelistschat:MatrixIRC
path: root/eater.c
diff options
context:
space:
mode:
authorAlice Frosi <afrosi@redhat.com>2023-02-22 10:40:09 +0100
committerAlice Frosi <afrosi@redhat.com>2023-02-22 10:40:09 +0100
commitba9623361f74be93674f2862903a39ae6d48e96e (patch)
tree518766500b31e8d25dbf5c29fc4a2673685b4e7a /eater.c
parentd7ecb9bf478d53132540079deceab11dbe750947 (diff)
downloadseitan-ba9623361f74be93674f2862903a39ae6d48e96e.tar
seitan-ba9623361f74be93674f2862903a39ae6d48e96e.tar.gz
seitan-ba9623361f74be93674f2862903a39ae6d48e96e.tar.bz2
seitan-ba9623361f74be93674f2862903a39ae6d48e96e.tar.lz
seitan-ba9623361f74be93674f2862903a39ae6d48e96e.tar.xz
seitan-ba9623361f74be93674f2862903a39ae6d48e96e.tar.zst
seitan-ba9623361f74be93674f2862903a39ae6d48e96e.zip
fix formatting
Diffstat (limited to 'eater.c')
-rw-r--r--eater.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/eater.c b/eater.c
index 26250d8..c15c4ee 100644
--- a/eater.c
+++ b/eater.c
@@ -81,7 +81,9 @@ static int seccomp(unsigned int operation, unsigned int flags, void *args)
return syscall(__NR_seccomp, operation, flags, args);
}
-static void signal_handler(__attribute__((unused))int s){}
+static void signal_handler(__attribute__((unused)) int s)
+{
+}
/**
* main() - Entry point
@@ -111,7 +113,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
if (seccomp(SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_NEW_LISTENER,
- &prog) < 0) {
+ &prog) < 0) {
perror("seccomp");
exit(EXIT_FAILURE);
}
@@ -131,7 +133,7 @@ int main(int argc, char **argv)
pause();
execvpe(argv[arguments.program_index], &argv[arguments.program_index],
- environ);
+ environ);
if (errno != ENOENT) {
perror("execvpe");
exit(EXIT_FAILURE);