From 25dc4cf23f281ae651f41ccb8e8c7077e6c3da80 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 27 Nov 2015 06:36:42 +0100 Subject: add HDPARM_PATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/restricted-hdparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2