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

@@ -41,16 +41,16 @@
 
 
 #define _I(x)   (((long)(&((nsc_io_t *)0)->x))/sizeof (long))
 
 nsc_def_t _nsc_disk_def[] = {
-        "UserRead",     (uintptr_t)nsc_ioerr,   _I(uread),
-        "UserWrite",    (uintptr_t)nsc_ioerr,   _I(uwrite),
-        "PartSize",     (uintptr_t)nsc_null,    _I(partsize),
-        "MaxFbas",      (uintptr_t)nsc_null,    _I(maxfbas),
-        "Control",      (uintptr_t)nsc_ioerr,   _I(control),
-        0,              0,              0
+        { "UserRead",   (uintptr_t)nsc_ioerr,   _I(uread) },
+        { "UserWrite",  (uintptr_t)nsc_ioerr,   _I(uwrite) },
+        { "PartSize",   (uintptr_t)nsc_null,    _I(partsize) },
+        { "MaxFbas",    (uintptr_t)nsc_null,    _I(maxfbas) },
+        { "Control",    (uintptr_t)nsc_ioerr,   _I(control) },
+        { NULL,         (uintptr_t)NULL,        0 }
 };
 
 
 extern nsc_mem_t *_nsc_local_mem;