templates/progops.c | raw changeset files shortlog |
1.1 --- a/templates/progops.c Tue Dec 06 18:18:47 2016 +0100 1.2 +++ b/templates/progops.c Tue Dec 06 20:32:33 2016 +0100 1.3 @@ -80,9 +80,9 @@ 1.4 /* Helpers for raising errors within common operations. */ 1.5 1.6 #ifdef __HAVE___builtins___exception_io_IOError 1.7 -void __raise_io_error() 1.8 +void __raise_io_error(__attr value) 1.9 { 1.10 - __attr args[1]; 1.11 + __attr args[2] = {{0, 0}, value}; 1.12 __attr exc = __new___builtins___exception_io_IOError(args); 1.13 __Raise(exc); 1.14 }