From 5b4123f8b5b2ae3b1675cce37f78238a3b58d3ea Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 26 Oct 2013 19:50:56 +0200 Subject: [PATCH] Code cleanup --- tests/applets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/applets.c b/tests/applets.c index c82d1b8..59e4530 100644 --- a/tests/applets.c +++ b/tests/applets.c @@ -51,7 +51,7 @@ static int _applets(void) PanelAppletDefinition * pad; if((dir = opendir(path)) == NULL) - return -_perror("../src/applets", 1); + return -_perror(path, 1); while((de = readdir(dir)) != NULL) { if((len = strlen(de->d_name)) < sizeof(ext))