diff --git a/mox-/forkexec_windows.go b/mox-/forkexec_windows.go index 895372f..b690cc1 100644 --- a/mox-/forkexec_windows.go +++ b/mox-/forkexec_windows.go @@ -5,5 +5,5 @@ package mox // Not implemented yet on windows. Would need to understand its security model // first. func ForkExecUnprivileged() { - xlog.Fatal("fork and exec to unprivileged user not yet implemented on windows") + pkglog.Fatal("fork and exec to unprivileged user not yet implemented on windows") } diff --git a/moxio/syncdir_windows.go b/moxio/syncdir_windows.go index 4d01d93..30e04ee 100644 --- a/moxio/syncdir_windows.go +++ b/moxio/syncdir_windows.go @@ -1,8 +1,12 @@ package moxio +import ( + "github.com/mjl-/mox/mlog" +) + // SyncDir opens a directory and syncs its contents to disk. // SyncDir is a no-op on Windows. -func SyncDir(dir string) error { +func SyncDir(log mlog.Log, dir string) error { // todo: how to sync a directory on windows? return nil }