Revision 4491e0f3

b/usb-linux.c
1188 1188
 */
1189 1189
static int usb_host_read_file(char *line, size_t line_size, const char *device_file, const char *device_name)
1190 1190
{
1191
#if 0
1192
    Monitor *mon = cur_mon;
1193
#endif
1194 1191
    FILE *f;
1195 1192
    int ret = 0;
1196 1193
    char filename[PATH_MAX];
......
1201 1198
    if (f) {
1202 1199
        ret = fgets(line, line_size, f) != NULL;
1203 1200
        fclose(f);
1204
#if 0
1205
    } else {
1206
        if (mon)
1207
            monitor_printf(mon, "husb: could not open %s\n", filename);
1208
#endif
1209 1201
    }
1210 1202

  
1211 1203
    return ret;

Also available in: Unified diff