usr/src/lib/liborchestrator/locale.c
changeset 26 fb9b1fd08e73
parent 0 87f703f8362e
child 107 73ae3dba821c
--- a/usr/src/lib/liborchestrator/locale.c	Wed Mar 05 13:46:46 2008 +0800
+++ b/usr/src/lib/liborchestrator/locale.c	Fri Mar 07 10:25:22 2008 +0100
@@ -48,7 +48,6 @@
 #include <dirent.h>
 #include <ctype.h>
 
-#include "spmicommon_api.h"
 #include "orchestrator_private.h"
 #include "orchestrator_lang_codes.h"
 
@@ -1829,7 +1828,7 @@
 	}
 
 	(void) sprintf(tfile, "/tmp/orchlocale%ld", getpid());
-	(void) snprintf(target, sizeof (target), "%s%s", get_rootdir(),
+	(void) snprintf(target, sizeof (target), "%s%s", INSTALLED_ROOT_DIR,
 	    INIT_FILE);
 
 	if ((tfp = fopen(tfile, "w")) == NULL)