Author: eadler
Date: Wed Mar  7 14:47:43 2018
New Revision: 330602
URL: https://svnweb.freebsd.org/changeset/base/330602

Log:
  sys/cloudabi: Avoid relying on GNU specific extensions
  
  An empty initializer list is not technically valid C grammar.
  
  MFC After:    1 week

Modified:
  head/sys/compat/cloudabi/cloudabi_fd.c

Modified: head/sys/compat/cloudabi/cloudabi_fd.c
==============================================================================
--- head/sys/compat/cloudabi/cloudabi_fd.c      Wed Mar  7 14:44:32 2018        
(r330601)
+++ head/sys/compat/cloudabi/cloudabi_fd.c      Wed Mar  7 14:47:43 2018        
(r330602)
@@ -382,7 +382,7 @@ int
 cloudabi_sys_fd_stat_get(struct thread *td,
     struct cloudabi_sys_fd_stat_get_args *uap)
 {
-       cloudabi_fdstat_t fsb = {};
+       cloudabi_fdstat_t fsb = {0};
        struct file *fp;
        cap_rights_t rights;
        struct filecaps fcaps;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to