Displaying 1 result from an estimated 1 matches for "guestfs_int_stat_list_val".
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...estfs_int_statns_list *ret;
size_t i, nr_names;
nr_names = count_strings (names);
@@ -138,9 +134,10 @@ do_internal_lstatlist (const char *path, char *const *names)
reply_with_perror ("malloc");
return NULL;
}
- ret->guestfs_int_stat_list_len = nr_names;
- ret->guestfs_int_stat_list_val = calloc (nr_names, sizeof (guestfs_int_stat));
- if (ret->guestfs_int_stat_list_val == NULL) {
+ ret->guestfs_int_statns_list_len = nr_names;
+ ret->guestfs_int_statns_list_val =
+ calloc (nr_names, sizeof (guestfs_int_statns));
+ if (ret->guestfs_int_statns_list_val == NULL) {...