summaryrefslogtreecommitdiff
path: root/sd_daemon/log_util.go.gen
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-05 00:19:41 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-09-05 00:19:41 -0400
commit1abc491c413010093c48e108d24f91e15080682e (patch)
treec2ec19ce2b371b1b9ab331281e81abdf3c0cd4da /sd_daemon/log_util.go.gen
parentce07ec5e3d5888a5068dff408c47cc9fef91f4b1 (diff)
parent0a43955333992153412a6b8a99b2825c3d0a74ca (diff)
Merge branch 'master' of https://git.lukeshu.com/go/libsystemd
Diffstat (limited to 'sd_daemon/log_util.go.gen')
-rwxr-xr-xsd_daemon/log_util.go.gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd_daemon/log_util.go.gen b/sd_daemon/log_util.go.gen
index 9bebacf..0ad4ea2 100755
--- a/sd_daemon/log_util.go.gen
+++ b/sd_daemon/log_util.go.gen
@@ -28,7 +28,7 @@ EOF
cat <<EOF
// $pri writes a message with priority syslog.LOG_${pri^^} to the log.
func (l *Logger) $pri(msg string) error {
- _, err := l.WriteString(syslog.LOG_${pri^^}, msg)
+ _, err := l.LogString(syslog.LOG_${pri^^}, msg)
return err
}