summaryrefslogtreecommitdiff
path: root/debian/patches/golang-1.3-compat-remove-prefix-logging
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/golang-1.3-compat-remove-prefix-logging')
-rw-r--r--debian/patches/golang-1.3-compat-remove-prefix-logging8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/golang-1.3-compat-remove-prefix-logging b/debian/patches/golang-1.3-compat-remove-prefix-logging
index 08a1a9e..072be5d 100644
--- a/debian/patches/golang-1.3-compat-remove-prefix-logging
+++ b/debian/patches/golang-1.3-compat-remove-prefix-logging
@@ -2,13 +2,13 @@ Index: planr/cmd/planr/main.go
===================================================================
--- planr.orig/cmd/planr/main.go
+++ planr/cmd/planr/main.go
-@@ -28,8 +28,7 @@ func dieUsage() {
-
- func main() {
+@@ -73,8 +73,7 @@ func main() {
+ defer pprof.StopCPUProfile()
+ }
- log.SetFlags(log.Llongfile | log.Lmsgprefix)
- log.SetPrefix("planr: ")
+ log.SetFlags(log.Llongfile)
- if len(os.Args) < 2 {
+ if flag.NArg() < 1 {
dieUsage()