diff options
author | kcat <[email protected]> | 2018-02-18 23:56:02 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2018-02-18 23:56:02 -0800 |
commit | c24aea712bff745022173bf7cf9b5e177af0237e (patch) | |
tree | edac50bd71ab555b027c990540faf2f3a35a3064 | |
parent | 59768674f1764706a2e59c4c314f80eca3b5de9d (diff) | |
parent | 063ad490a24dfc28ad6ffe4b3b4c52273d596c8d (diff) |
Merge pull request #170 from digitalist/patch-1
freebsd fix: typo
-rw-r--r-- | Alc/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c index 96f9b681..45e137fd 100644 --- a/Alc/helpers.c +++ b/Alc/helpers.c @@ -735,7 +735,7 @@ void GetProcBinary(al_string *path, al_string *fname) size_t pathlen; #ifdef __FreeBSD__ - int mib[4] = { CTL_KERN, KERN_PROCARGS, getpid() }; + int mib[4] = { CTL_KERN, KERN_PROC_ARGS, getpid() }; if(sysctl(mib, 3, NULL, &pathlen, NULL, 0) == -1) WARN("Failed to sysctl kern.procargs.%d: %s\n", mib[2], strerror(errno)); else |