Skip to content

Commit

Permalink
Update 'pid' to 'Pid'
Browse files Browse the repository at this point in the history
os.StartProcess return 'Pid' , so there should be 'Pid' in fmt.Printf()
  • Loading branch information
eval-exec authored Jun 21, 2019
1 parent 081071f commit 650c8f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/42_30_os.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func main() {
fmt.Printf("Error %v starting process!", err) //
os.Exit(1)
}
fmt.Printf("The process id is %v", pid)
fmt.Printf("The process id is %v", Pid)
}
```
Expand Down

0 comments on commit 650c8f8

Please sign in to comment.