Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 214527 | Differences between
and this patch

Collapse All | Expand All

(-)panel-plugin/hddtemp.c (-1 / +3 lines)
Lines 122-127 Link Here
122
    while ( (dirname = g_dir_read_name (gdir))!=NULL ) {
122
    while ( (dirname = g_dir_read_name (gdir))!=NULL ) {
123
        if ( strncmp (dirname, "ram", 3)!=0 &&
123
        if ( strncmp (dirname, "ram", 3)!=0 &&
124
             strncmp (dirname, "loop", 4)!=0 &&
124
             strncmp (dirname, "loop", 4)!=0 &&
125
	     strncmp (dirname, "md", 2)!=0 &&
126
	     strncmp (dirname, "fd", 2)!=0 &&
125
             strncmp (dirname, "dm-", 3)!=0 ) {
127
             strncmp (dirname, "dm-", 3)!=0 ) {
126
            /* TODO: look, if /dev/dirname exists? */
128
            /* TODO: look, if /dev/dirname exists? */
127
            chipfeature = g_new0 (t_chipfeature, 1);
129
            chipfeature = g_new0 (t_chipfeature, 1);
Lines 283-289 Link Here
283
285
284
    TRACE ("enters get_hddtemp_value for %s", disk);
286
    TRACE ("enters get_hddtemp_value for %s", disk);
285
287
286
    cmd_line = g_strdup_printf ( "%s -F -n -q %s", PATH_HDDTEMP, disk);
288
    cmd_line = g_strdup_printf ( "%s -n -q %s", PATH_HDDTEMP, disk);
287
289
288
    msg_text = NULL;
290
    msg_text = NULL;
289
291

Return to bug 214527