summaryrefslogtreecommitdiffstats
path: root/generator/csharp.ml
diff options
context:
space:
mode:
Diffstat (limited to 'generator/csharp.ml')
-rw-r--r--generator/csharp.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/csharp.ml b/generator/csharp.ml
index 9f86f48f..803a4a5a 100644
--- a/generator/csharp.ml
+++ b/generator/csharp.ml
@@ -110,7 +110,7 @@ namespace Guestfs
* method names (eg. "class stat" and "stat").
*)
List.iter (
- fun (typ, cols) ->
+ fun { s_name = typ; s_cols = cols } ->
pr " [StructLayout (LayoutKind.Sequential)]\n";
pr " public class _%s {\n" typ;
List.iter (