Project

General

Profile

Bug #12326

hal: the value of *n_speeds should increase rather than the pointer

Added by Alexander Pyhalov about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

We have the following in usr/src/cmd/hal/utils/cdutils.c

if (!skip) {
        current->next = *nextp;
        *nextp = current;
        *n_speeds++;
}

This shurely should be (*nspeeds)++;

History

#1

Updated by Alexander Pyhalov about 1 month ago

  • Description updated (diff)

Also available in: Atom PDF