summaryrefslogtreecommitdiff
path: root/security/crank/files/patch-plugins.c
blob: b114ad9d0ff91dea5d5a6e7e380b8497b0e159a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- plugins.c.orig	Thu Apr 19 03:34:39 2001
+++ plugins.c	Thu Apr 19 03:35:01 2001
@@ -60,7 +60,7 @@
     if (!g_module_supported())
 	g_error("Plugins not supported on this platform.");
 
-    if (!(plugin_dir = opendir("plugins")))
+    if (!(plugin_dir = opendir(PLUGIN_DIR)))
 	g_error("Could not open plugin directory - %s", PLUGIN_DIR);
 
     /* Loop over each file in the plugin directory */