diff --git a/device/webcam/webcam.go b/device/webcam/webcam.go index 47c1d46c..fbb3a91b 100644 --- a/device/webcam/webcam.go +++ b/device/webcam/webcam.go @@ -165,7 +165,7 @@ func (w *Webcam) Start() error { for { select { case <-w.done: - w.cfg.Logger.Log(logger.Info, "raspivid.Stop() called, finished checking stderr") + w.cfg.Logger.Log(logger.Info, "webcam.Stop() called, finished checking stderr") return default: buf, err := ioutil.ReadAll(stderr) @@ -175,7 +175,7 @@ func (w *Webcam) Start() error { } if len(buf) != 0 { - w.cfg.Logger.Log(logger.Error, "error from raspivid stderr", "error", string(buf)) + w.cfg.Logger.Log(logger.Error, "error from webcam stderr", "error", string(buf)) return } }