Browse Source

Fix executable path on FreeBSD.

v0.7.4-release
Brian White 14 years ago
committed by Ryan Dahl
parent
commit
ddbaeef1b3
  1. 1
      src/platform_freebsd.cc

1
src/platform_freebsd.cc

@ -74,6 +74,7 @@ int OS::GetExecutablePath(char* buffer, size_t* size) {
if (sysctl(mib, 4, buffer, size, NULL, 0) == -1) {
return -1;
}
*size-=1;
return 0;
}

Loading…
Cancel
Save