summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/log/colors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/log/colors.go b/modules/log/colors.go
index 5d56fd7390..ad3120ee6c 100644
--- a/modules/log/colors.go
+++ b/modules/log/colors.go
@@ -259,7 +259,7 @@ normalLoop:
}
// Process naughty character
- if _, err := fmt.Fprintf(c.w, `\%#o03d`, bytes[i]); err != nil {
+ if _, err := fmt.Fprintf(c.w, `\%#03o`, bytes[i]); err != nil {
return totalWritten, err
}
i++