diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-15 13:59:07 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-15 13:59:07 +0100 |
commit | ad5abc8d367c9c410051062cae066b1b141b4c76 (patch) | |
tree | 9b22bc0900d83ac5a79a8bed7c3283f2fc742536 /tests.c | |
parent | d5ae4a54e83018687ec05255bc39e7f5ab71a453 (diff) | |
download | libguestfs-ad5abc8d367c9c410051062cae066b1b141b4c76.tar.gz libguestfs-ad5abc8d367c9c410051062cae066b1b141b4c76.tar.xz libguestfs-ad5abc8d367c9c410051062cae066b1b141b4c76.zip |
Generated code for tune2fs-l command and RHashtable return type.
Diffstat (limited to 'tests.c')
-rw-r--r-- | tests.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -45,6 +45,14 @@ static void print_strings (char * const * const argv) printf ("\t%s\n", argv[argc]); } +static void print_table (char * const * const argv) +{ + int i; + + for (i = 0; argv[i] != NULL; i += 2) + printf ("%s: %s\n", argv[i], argv[i+1]); +} + static int test_mount_0 (void) { /* InitEmpty for mount (0) */ |