Project

General

Profile

Bug #10165

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

Added by Toomas Soome 7 months ago. Updated 6 months 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:

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