Revision a16c53b1

b/vl.c
1933 1933
        p = get_opt_name(buf, sizeof (buf), p, ':');
1934 1934
        for (i = 0; i < ARRAY_SIZE(accel_list); i++) {
1935 1935
            if (strcmp(accel_list[i].opt_name, buf) == 0) {
1936
                *(accel_list[i].allowed) = 1;
1936 1937
                ret = accel_list[i].init();
1937 1938
                if (ret < 0) {
1938 1939
                    init_failed = 1;
......
1944 1945
                                accel_list[i].name,
1945 1946
                                strerror(-ret));
1946 1947
                    }
1948
                    *(accel_list[i].allowed) = 0;
1947 1949
                } else {
1948 1950
                    accel_initalised = 1;
1949
                    *(accel_list[i].allowed) = 1;
1950 1951
                }
1951 1952
                break;
1952 1953
            }

Also available in: Unified diff