From 9c9f7798ab3551ac07cdff569706cfcc41045e9b Mon Sep 17 00:00:00 2001 From: minie4 Date: Thu, 29 Aug 2024 00:34:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Add=20missing=20newlines=20to=20?= =?UTF-8?q?printf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jack.go | 2 +- routing.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jack.go b/jack.go index ea9c609..d1e6156 100644 --- a/jack.go +++ b/jack.go @@ -32,7 +32,7 @@ func stopJack() { func registerJackPort(name string, channels uint8, flags uint64) []*jack.Port { if channels > 2 { - fmt.Printf("WARN! Parameters of jack port %s changed: more than 2 channels not implemented, using 2 channels", name) + fmt.Printf("WARN! Parameters of jack port %s changed: more than 2 channels not implemented, using 2 channels\n", name) channels = 2 } diff --git a/routing.go b/routing.go index 6dafc01..8198443 100644 --- a/routing.go +++ b/routing.go @@ -80,7 +80,7 @@ func registerPort(port *Port, portType string) { } port.object = registerJackPort(port.Name, port.Properties.Channels, uint64(jackFlag)) default: - fmt.Printf("WARN! Error loading port %s: Backend %s is not implemented!", port.UUID, backend) + fmt.Printf("WARN! Error loading port %s: Backend %s is not implemented!\n", port.UUID, backend) } } @@ -93,7 +93,7 @@ func unregisterPort(port *Port) { unregisterJackPort(port.object) port.object = nil default: - fmt.Printf("WARN! Error unloading port %s: Backend %s is not implemented!", port.UUID, backend) + fmt.Printf("WARN! Error unloading port %s: Backend %s is not implemented!\n", port.UUID, backend) } }