if (mkdir (orig_dir, 0755) == -1)
{
char errbuf[1024];
- ERROR ("mkdir (%s): %s", orig_dir,
+ ERROR ("change_basedir: mkdir (%s): %s", orig_dir,
sstrerror (errno, errbuf,
sizeof (errbuf)));
return (-1);
if (mkdir (dir, 0755) == -1)
{
char errbuf[1024];
- ERROR ("mkdir (%s): %s", dir,
+ ERROR ("check_create_dir: mkdir (%s): %s", dir,
sstrerror (errno,
errbuf, sizeof (errbuf)));
return (-1);
}
return (0);
-}
+} /* check_create_dir */
#ifdef HAVE_LIBKSTAT
int get_kstat (kstat_t **ksp_ptr, char *module, int instance, char *name)