aboutsummaryrefslogtreecommitdiffstats
path: root/c_utils.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-15 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-15 20:20:20 +0100
commit02eadcbb8672b665661eb09ab50359a8c2bbb6e4 (patch)
tree55d6a10be78ac1d372fac0df6c7970022a95bdce /c_utils.go
parentprint (diff)
downloadhardflip-02eadcbb8672b665661eb09ab50359a8c2bbb6e4.tar.gz
hardflip-02eadcbb8672b665661eb09ab50359a8c2bbb6e4.tar.bz2
hardflip-02eadcbb8672b665661eb09ab50359a8c2bbb6e4.tar.xz
hardflip-02eadcbb8672b665661eb09ab50359a8c2bbb6e4.tar.zst
hardflip-02eadcbb8672b665661eb09ab50359a8c2bbb6e4.zip
new stuff
Diffstat (limited to 'c_utils.go')
-rw-r--r--c_utils.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/c_utils.go b/c_utils.go
index 55a9097..26a26b0 100644
--- a/c_utils.go
+++ b/c_utils.go
@@ -53,9 +53,9 @@ import (
)
// c_die displays an error string to the stderr fd and exits the program
-// with the return code 1.
-// It takes an optional err argument of the error type as a complement of
-// information.
+// with the return code 1
+// it takes an optional err argument of the error type as a complement of
+// information
func c_die(str string, err error) {
fmt.Fprintf(os.Stderr, "error: %s", str)
if err != nil {