solaris: small fix

pull/2125/head^2
Alexander Medvednikov 2019-09-27 00:24:15 +03:00
parent 107e9107c8
commit fcf8f7fc93
1 changed files with 2 additions and 2 deletions

View File

@ -631,8 +631,8 @@ pub fn executable() string {
// lol // lol
return os.args[0] return os.args[0]
} }
$if solaris { //$if solaris {
} //}
$if netbsd { $if netbsd {
mut result := malloc(MAX_PATH) mut result := malloc(MAX_PATH)
count := int(C.readlink('/proc/curproc/exe', result, MAX_PATH )) count := int(C.readlink('/proc/curproc/exe', result, MAX_PATH ))