aboutsummaryrefslogtreecommitdiffstats
path: root/src/restricted-hdparm.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-27 06:36:42 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-27 06:36:42 +0100
commit25dc4cf23f281ae651f41ccb8e8c7077e6c3da80 (patch)
treee76a3be4a9e9044571e241d26b38af13e6d76bf8 /src/restricted-hdparm.c
parentinfo manual (diff)
downloadxpybar-25dc4cf23f281ae651f41ccb8e8c7077e6c3da80.tar.gz
xpybar-25dc4cf23f281ae651f41ccb8e8c7077e6c3da80.tar.bz2
xpybar-25dc4cf23f281ae651f41ccb8e8c7077e6c3da80.tar.xz
add HDPARM_PATH
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/restricted-hdparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restricted-hdparm.c b/src/restricted-hdparm.c
index 67e1338..2b2e0f0 100644
--- a/src/restricted-hdparm.c
+++ b/src/restricted-hdparm.c
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
else
return 1;
- execv("hdparm", argv);
+ execv(HDPARM_PATH, argv);
perror(*argv);
return 1;