summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2015-01-11 14:50:15 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-13 18:27:49 -0500
commitd538bfc71331d2e48363283decd77a61599021db (patch)
tree7bbed23d3d4b11bd33c91f9518c655ffe854f184 /src/machine
parentf0c4b1c3fd827b429ba36aa45fd39e0a023cbf2c (diff)
machinectl: use GNU basename, not the XPG version
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 749170ede9..980fba12a4 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -32,7 +32,7 @@
#include <net/if.h>
#include <sys/mount.h>
#include <libgen.h>
-
+#undef basename
#include "sd-bus.h"
#include "log.h"
#include "util.h"