🩹 Add missing newlines to printf

This commit is contained in:
2024-08-29 00:34:01 +02:00
parent c4c8b6bcda
commit 9c9f7798ab
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ func stopJack() {
func registerJackPort(name string, channels uint8, flags uint64) []*jack.Port { func registerJackPort(name string, channels uint8, flags uint64) []*jack.Port {
if channels > 2 { 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 channels = 2
} }

View File

@ -80,7 +80,7 @@ func registerPort(port *Port, portType string) {
} }
port.object = registerJackPort(port.Name, port.Properties.Channels, uint64(jackFlag)) port.object = registerJackPort(port.Name, port.Properties.Channels, uint64(jackFlag))
default: 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) unregisterJackPort(port.object)
port.object = nil port.object = nil
default: 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)
} }
} }