File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 3bbcac322669cff3abde5be937cc4ec3860f3985
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: a6d9689399d091c3265f00434a69c551a61c28dc
5
- refs/heads/try: 396f9119256c7f675bd6cc58aaa4defb36c09760
5
+ refs/heads/try: 28e8542c549a3f1d8b672a0398869472ccd2e780
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ pub fn self_exe_path() -> Option<Path> {
374
374
let mib = ~[ CTL_KERN as c_int ,
375
375
KERN_PROC as c_int ,
376
376
KERN_PROC_PATHNAME as c_int , -1 as c_int ] ;
377
+ let mut sz = sz;
377
378
sysctl ( vec:: raw:: to_ptr ( mib) , vec:: len ( mib) as c_uint ,
378
379
buf as * mut c_void , & mut sz, ptr:: null ( ) ,
379
380
0 u as size_t ) == ( 0 as c_int )
You can’t perform that action at this time.
0 commit comments