Print this page
7127  remove -Wno-missing-braces from Makefile.uts

@@ -163,12 +163,12 @@
 {                                                       /* reserve for mp */
         ssize_t sw_freelist_size = klustsize / PAGESIZE * 2;
         int i, error;
 
         static const fs_operation_def_t swap_vfsops[] = {
-                VFSNAME_SYNC, { .vfs_sync = swap_sync },
-                NULL, NULL
+                { VFSNAME_SYNC, { .vfs_sync = swap_sync }},
+                { NULL, {NULL} }
         };
 
         SWAPFS_PRINT(SWAP_SUBR, "swapinit\n", 0, 0, 0, 0, 0);
         mutex_init(&swapfs_lock, NULL, MUTEX_DEFAULT, NULL);