Project

General

Profile

Bug #12326

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

Added by Alexander Pyhalov 6 months ago. Updated 6 months ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

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 6 months ago

  • Description updated (diff)

Also available in: Atom PDF