static void *show_parts(void *arg)

{

    char *device = arg;

    int nbd;



    /* linux just needs an open() to trigger

     * the partition table update

     * but remember to load the module with max_part != 0 :

     *     modprobe nbd max_part=63

     */

    nbd = open(device, O_RDWR);

    if (nbd != -1) {

        close(nbd);

    }

    return NULL;

}

static void *show_parts(void *arg)

{

    char *device = arg;

    int nbd;



    









    nbd = open(device, O_RDWR);

    if (nbd != -1) {

        close(nbd);

    }

    return NULL;

}

static void *FUNC_0(void *VAR_0)

{

    char *VAR_1 = VAR_0;

    int VAR_2;



    









    VAR_2 = open(VAR_1, O_RDWR);

    if (VAR_2 != -1) {

        close(VAR_2);

    }

    return NULL;

}

static void *FUNC_0(void *VAR_0)
{ char *VAR_1 = VAR_0; int VAR_2; VAR_2 = open(VAR_1, O_RDWR); if (VAR_2 != -1) { close(VAR_2); } return NULL; }