From 2b4aa5cbafab63d2d2a0b28c884dfabd0502ad0c Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Sun, 3 Mar 2024 16:35:14 -0500 Subject: [PATCH] Add message to show the number of paths sent to the worker to ls --- guestfs-inspectd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/guestfs-inspectd.c b/guestfs-inspectd.c index e5f74fc..e94b899 100644 --- a/guestfs-inspectd.c +++ b/guestfs-inspectd.c @@ -109,6 +109,7 @@ static void *worker_task(zsock_t *pipe, char *disk_path) { printf("Size: %zu\tContent size: %zu\n", zmsg_size(msg), zmsg_content_size(msg)); struct guestfs_inpsect_command *command = zmsg_to_command(msg); printf("Name: %s\n", command->name); + printf("paths: %zu\n", command->args.ls.paths_length); printf("path: %s\n", command->args.ls.paths[0]); free(command);