summaryrefslogtreecommitdiff
path: root/src/pkg/exp/ogle/cmd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/exp/ogle/cmd.go')
-rw-r--r--src/pkg/exp/ogle/cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/ogle/cmd.go b/src/pkg/exp/ogle/cmd.go
index 45b47ef5b..2f087b777 100644
--- a/src/pkg/exp/ogle/cmd.go
+++ b/src/pkg/exp/ogle/cmd.go
@@ -153,7 +153,7 @@ func cmdLoad(args []byte) os.Error {
}
println("Attached to", pid)
} else {
- parts := strings.Split(path, " ", 0)
+ parts := strings.Split(path, " ", -1)
if len(parts) == 0 {
fname = ""
} else {