summaryrefslogtreecommitdiffstats
path: root/src/binary_location.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 15:19:56 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 15:19:56 +0100
commit8daabaaac7ac83766a156c8364f9ff054c7575bd (patch)
tree849da11850f0ebe11739f3d44019b1580966d700 /src/binary_location.h
parent18d6cc193bd0d9138f42f5f0d365a8529aab43b4 (diff)
downloadpatchage-8daabaaac7ac83766a156c8364f9ff054c7575bd.tar.gz
patchage-8daabaaac7ac83766a156c8364f9ff054c7575bd.tar.bz2
patchage-8daabaaac7ac83766a156c8364f9ff054c7575bd.zip
Fix indentation
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)) {