git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a0427
)
generator: Use shortname in check_state() call.
author
Richard Jones
<rjones@redhat.com>
Sat, 17 Apr 2010 14:59:41 +0000
(15:59 +0100)
committer
Richard Jones
<rjones@redhat.com>
Sat, 17 Apr 2010 14:59:41 +0000
(15:59 +0100)
Saves a tiny bit of space in the library.
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
1e78a80
..
1aa8d60
100755
(executable)
--- 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";