Skip to content

Commit b946f0a

Browse files
committed
sdjournal: fix Writer call
1 parent e8339e7 commit b946f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdjournal/read.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ process:
161161
return ErrExpired
162162
default:
163163
if c > 0 {
164-
if err = writer.Write(msg[:c]); err != nil {
164+
if _, err = writer.Write(msg[:c]); err != nil {
165165
break process
166166
}
167167
continue process

0 commit comments

Comments
 (0)