summaryrefslogtreecommitdiffstats
path: root/src/binary_location.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary_location.h')
-rw-r--r--src/binary_location.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary_location.h b/src/binary_location.h
index 25e49bf..111a04f 100644
--- a/src/binary_location.h
+++ b/src/binary_location.h
@@ -15,7 +15,7 @@
*/
#ifndef _GNU_SOURCE
- #define _GNU_SOURCE
+# define _GNU_SOURCE
#endif
#include <dlfcn.h>
@@ -31,7 +31,7 @@ binary_location()
{
Dl_info dli;
std::string loc;
- const int ret = dladdr((void*)&binary_location, &dli);
+ const int ret = dladdr((void*)&binary_location, &dli);
if (ret) {
char* const bin_loc = (char*)calloc(PATH_MAX, 1);
if (realpath(dli.dli_fname, bin_loc)) {