From: Richard Jones Date: Sat, 17 Apr 2010 14:59:41 +0000 (+0100) Subject: generator: Use shortname in check_state() call. X-Git-Tag: 1.3.4~9 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=3297466d33e9f9b73ee806ff2ba90ede1a4a02ab generator: Use shortname in check_state() call. Saves a tiny bit of space in the library. --- 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";