aboutsummaryrefslogtreecommitdiffstats
path: root/src/hooks.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-06 16:57:49 +0100
committerMattias Andrée <m@maandree.se>2025-03-06 16:57:49 +0100
commit4c3cd7fde636946bb806d9b2d025c59418fa4e85 (patch)
tree5fccfab94b4ee535c4627be80a9ea92e5ae291b2 /src/hooks.c
parentStyle (diff)
downloadredshift-ng-4c3cd7fde636946bb806d9b2d025c59418fa4e85.tar.gz
redshift-ng-4c3cd7fde636946bb806d9b2d025c59418fa4e85.tar.bz2
redshift-ng-4c3cd7fde636946bb806d9b2d025c59418fa4e85.tar.xz
style and some minor fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'src/hooks.c')
-rw-r--r--src/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks.c b/src/hooks.c
index cc26c7c..e55f3a1 100644
--- a/src/hooks.c
+++ b/src/hooks.c
@@ -92,7 +92,7 @@ hooks_signal_period_change(enum period prev_period, enum period period)
output. */
switch (fork()) {
case -1:
- perror("fork");
+ weprintf("fork:");
break;
case 0:
close(STDOUT_FILENO);