add -fPIC option to the C compiler, required in f31
[vsys.git] / backend.ml
index 34dde6b..3d1122a 100644 (file)
@@ -54,7 +54,7 @@ class backendHandler dir_root (frontend_lst: frontendHandler list) =
                 Dirwatcher.add_watch fqp [S_Create;S_Delete] func 
               end
               with _ ->
-                fprintf logfd "Could not create %s. Looks like a slice shot itself in the foot\n" fqp;flush logfd;
+                logprint "Could not create %s. Looks like a slice shot itself in the foot\n" fqp;
            )
            slice_list
 
@@ -131,7 +131,7 @@ class backendHandler dir_root (frontend_lst: frontendHandler list) =
                  end
            end
          else (* regex not matched *)
-           fprintf logfd "Rejected weird entry %s\n" fname
+           logprint "Rejected weird entry %s\n" fname
 
      (** Initializer - build the initial tree based on the contents of /vsys *)
      initializer 
@@ -163,7 +163,7 @@ class backendHandler dir_root (frontend_lst: frontendHandler list) =
                              | S_REG ->
                                  this#new_script slice_list fqp
                              | _ ->
-                                 fprintf logfd "Don't know what to do with %s\n" curfile;flush logfd
+                                 logprint "Don't know what to do with %s\n" curfile
                          end
                  end
            with _