aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;