]> pd.if.org Git - zpackage/blobdiff - zpm-syncfs.c
enable static linked builds
[zpackage] / zpm-syncfs.c
index 073ad0b291188dfd92b2013ac69fe46b412dea67..6ea62415b7b9b84cffa58ca27d0a4d0bd29a8e85 100644 (file)
@@ -383,7 +383,7 @@ static int install_files(void *f, int ncols, char **vals, char **cols) {
                }
        }
 
-       struct timespec times[2] = { 0 };
+       struct timespec times[2] = { {0}, {0} };
        double mtime = strtod(COL("mtime"),NULL);
 
        times[0].tv_nsec = UTIME_OMIT;