summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index 1e78a804..1aa8d608 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -5742,7 +5742,8 @@ check_state (guestfs_h *g, const char *caller)
pr " int r;\n";
pr "\n";
trace_call shortname style;
- pr " if (check_state (g, \"%s\") == -1) return %s;\n" name error_code;
+ pr " if (check_state (g, \"%s\") == -1) return %s;\n"
+ shortname error_code;
pr " guestfs___set_busy (g);\n";
pr "\n";