From 3297466d33e9f9b73ee806ff2ba90ede1a4a02ab Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Sat, 17 Apr 2010 15:59:41 +0100 Subject: [PATCH] generator: Use shortname in check_state() call. Saves a tiny bit of space in the library. --- src/generator.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/generator.ml b/src/generator.ml index 1e78a80..1aa8d60 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"; -- 1.8.3.1