summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/ccgo/v3/lib/dmesg.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-12 23:02:04 +0100
committerWim <wim@42.be>2022-03-20 14:57:48 +0100
commitaefa70891cfd489fccb8a9567b5bdafb0f863ede (patch)
tree90fe7c91d7b33b2a1ed08ea3a94840860adc6fc1 /vendor/modernc.org/ccgo/v3/lib/dmesg.go
parent1b9877fda45be021ea6a5677c78648cecc19dcd5 (diff)
downloadmatterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.tar.gz
matterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.tar.bz2
matterbridge-msglm-aefa70891cfd489fccb8a9567b5bdafb0f863ede.zip
Update vendor (whatsapp)
Diffstat (limited to 'vendor/modernc.org/ccgo/v3/lib/dmesg.go')
-rw-r--r--vendor/modernc.org/ccgo/v3/lib/dmesg.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/modernc.org/ccgo/v3/lib/dmesg.go b/vendor/modernc.org/ccgo/v3/lib/dmesg.go
index c7da87ee..6ab93e56 100644
--- a/vendor/modernc.org/ccgo/v3/lib/dmesg.go
+++ b/vendor/modernc.org/ccgo/v3/lib/dmesg.go
@@ -32,7 +32,8 @@ func dmesg(s string, args ...interface{}) {
if s == "" {
s = strings.Repeat("%v ", len(args))
}
- s = fmt.Sprintf(pid+s, args...)
+ s = fmt.Sprintf(s, args...)
+ s = pid + s
switch {
case len(s) != 0 && s[len(s)-1] == '\n':
fmt.Fprint(logf, s)