mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-08 06:34:18 +00:00
@@ -37,7 +37,7 @@ func main() {
|
|||||||
// 43 bytes is the record size of the watch
|
// 43 bytes is the record size of the watch
|
||||||
buf := make([]byte, 43)
|
buf := make([]byte, 43)
|
||||||
// initial state
|
// initial state
|
||||||
_, err := watch.Read(buf)
|
_, err = watch.Read(buf)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln("Error reading watch file", err)
|
log.Fatalln("Error reading watch file", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user