X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Ftest%2Fpb-test.c;h=fdca45c5eea19a7a9b60f3919cfc6a3eb17b2ef4;hp=a36e991507563f2d59e9dd51a885b19b95adf85b;hb=898665e37e7e373f9a54ce288debbe365b28b60b;hpb=32e6a41f33e5576716b351bd473a27939fe94fa1 diff --git a/ui/test/pb-test.c b/ui/test/pb-test.c index a36e991..fdca45c 100644 --- a/ui/test/pb-test.c +++ b/ui/test/pb-test.c @@ -29,7 +29,7 @@ static int print_device_add(struct device *device) return 0; } -static void print_device_remove(const char *dev_id) +static void print_device_remove(char *dev_id) { printf("removed device:\n"); printf("\tid: %s\n", dev_id); @@ -44,8 +44,6 @@ int main(void) { struct discover_client *client; - printf("pid: %d\n", getpid()); - client = discover_client_init(&client_ops); if (!client) return -1;