Project

General

Profile

Actions

Bug #10165

closed

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

Added by Toomas Soome almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2018-12-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

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

Actions #1

Updated by Electric Monk almost 5 years ago

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

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>

Actions

Also available in: Atom PDF