Bug #10165

libzpool: passing argument 1 to restrict-qualified parameter aliases with argument 4

Added by Toomas Soome about 2 months ago. Updated about 1 month ago.

Status:ClosedStart date:2018-12-25
Priority:NormalDue date:
Assignee:Toomas Soome% Done:

100%

Category:zfs - Zettabyte File System
Target version:-
Difficulty:Bite-size Tags:

Description

Issue found by gcc 8 build:

    ../../../uts/common/fs/zfs/dsl_dataset.c: In function 'dsl_get_mountpoint':
    ../../../uts/common/fs/zfs/dsl_dataset.c:2186:3: error: passing argument 1 to re
    strict-qualified parameter aliases with argument 4 [-Werror=restrict]
       (void) snprintf(value, ZAP_MAXVALUELEN, "%s", value);
       ^
    cc1: all warnings being treated as errors

History

#1 Updated by Electric Monk about 1 month ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit f91fcf59ac2fd04f1816f3dcbc69a46d44276a65

commit  f91fcf59ac2fd04f1816f3dcbc69a46d44276a65
Author: Toomas Soome <tsoome@me.com>
Date:   2019-01-18T02:12:56.000Z

    10165 libzpool: passing argument 1 to restrict-qualified parameter aliases with argument 4
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom