summary refs log tree commit diff
path: root/bin/hnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hnel.c')
-rw-r--r--bin/hnel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hnel.c b/bin/hnel.c
index 40ab7bbc..97f3cf0d 100644
--- a/bin/hnel.c
+++ b/bin/hnel.c
@@ -60,7 +60,7 @@ int main(int argc, char *argv[]) {
 
     struct winsize window;
     error = ioctl(STDERR_FILENO, TIOCGWINSZ, &window);
-    if (error) err(EX_IOERR, "ioctl(%d, TIOCGWINSZ, ...)", STDERR_FILENO);
+    if (error) err(EX_IOERR, "TIOCGWINSZ");
 
     int pty;
     pid_t pid = forkpty(&pty, NULL, NULL, &window);
@@ -111,7 +111,7 @@ int main(int argc, char *argv[]) {
 
         int status;
         pid_t dead = waitpid(pid, &status, WNOHANG);
-        if (dead < 0) err(EX_OSERR, "waitpid(%d, ...)", pid);
+        if (dead < 0) err(EX_OSERR, "waitpid(%d)", pid);
         if (dead) return WIFEXITED(status) ? WEXITSTATUS(status) : EX_SOFTWARE;
     }
     err(EX_IOERR, "poll");
9d07619e51a47b89f51bf6e&follow=1'>Publish "Compassion"June McEnroe 2022-03-24Skip matches with ident chars on either sideJune McEnroe 2022-03-24Add The Invisible Life of Addie LaRueJune McEnroe 2022-03-22Source ~/.profile.local if it existsJune McEnroe 2022-03-18Publish "Addendum 2021"June McEnroe 2022-03-16Remove wcwidth portJune McEnroe 2022-03-16Remove -j4 from ./PlanJune McEnroe 2022-03-15Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroenside substitutionsJune McEnroe 2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe