[tor-commits] [sandboxed-tor-browser/master] Fix incorrect format string in debug output.

yawning at torproject.org yawning at torproject.org
Sat Dec 10 17:58:54 UTC 2016


commit cca42c96d33ef417ca80683a82b0d478b9c673da
Author: Yawning Angel <yawning at schwanenlied.me>
Date:   Sat Dec 10 17:58:19 2016 +0000

    Fix incorrect format string in debug output.
---
 src/cmd/sandboxed-tor-browser/internal/dynlib/ldso.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cmd/sandboxed-tor-browser/internal/dynlib/ldso.go b/src/cmd/sandboxed-tor-browser/internal/dynlib/ldso.go
index 92e16c1..438fb3a 100644
--- a/src/cmd/sandboxed-tor-browser/internal/dynlib/ldso.go
+++ b/src/cmd/sandboxed-tor-browser/internal/dynlib/ldso.go
@@ -57,7 +57,7 @@ func ValidateLibraryClass(fn string) error {
 	}
 
 	if f.Class != expectedClass {
-		return fmt.Errorf("unsupported class: %v", fn, f.Class)
+		return fmt.Errorf("unsupported class: %v: %v", fn, f.Class)
 	}
 	return nil
 }



More information about the tor-commits mailing list