X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=show.c;h=aec61f142d7aff4a90a38e32a4b80ad56fb45f2d;hb=5899178d2d92d12bb8bed7e6b874ea778b7329c2;hp=88a272f3855c7636496c90f616ccc6d3efe1d7aa;hpb=662a1e27fa9573a35a6f9a6f699dee2be447826a;p=sigrok-cli.git diff --git a/show.c b/show.c index 88a272f..aec61f1 100644 --- a/show.c +++ b/show.c @@ -78,7 +78,7 @@ void show_version(void) #endif printf("Supported hardware drivers:\n"); - drivers = sr_driver_list(); + drivers = sr_driver_list(sr_ctx); for (sl = NULL, i = 0; drivers[i]; i++) sl = g_slist_append(sl, drivers[i]); sl = g_slist_sort(sl, sort_drivers);