diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-05 00:19:41 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-05 00:19:41 -0400 |
commit | 1abc491c413010093c48e108d24f91e15080682e (patch) | |
tree | c2ec19ce2b371b1b9ab331281e81abdf3c0cd4da /sd_daemon/log_util.go.gen | |
parent | ce07ec5e3d5888a5068dff408c47cc9fef91f4b1 (diff) | |
parent | 0a43955333992153412a6b8a99b2825c3d0a74ca (diff) |
Merge branch 'master' of https://git.lukeshu.com/go/libsystemd
Diffstat (limited to 'sd_daemon/log_util.go.gen')
-rwxr-xr-x | sd_daemon/log_util.go.gen | 2 |
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 } |