summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-17 15:59:41 +0100
committerRichard Jones <rjones@redhat.com>2010-04-17 15:59:41 +0100
commit3297466d33e9f9b73ee806ff2ba90ede1a4a02ab (patch)
tree1eb686448ad1db0363dba038babea2f514a67b89
parent09a0427448b1f4328b9246d4d8a26610bb5228c8 (diff)
downloadlibguestfs-3297466d33e9f9b73ee806ff2ba90ede1a4a02ab.tar.gz
libguestfs-3297466d33e9f9b73ee806ff2ba90ede1a4a02ab.tar.xz
libguestfs-3297466d33e9f9b73ee806ff2ba90ede1a4a02ab.zip
generator: Use shortname in check_state() call.
Saves a tiny bit of space in the library.
-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";