]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools: warning, ‘%.16x’ directive output truncated writing 16 bytes into a region... 14292/head
authorJos Collin <jcollin@redhat.com>
Mon, 3 Apr 2017 03:59:33 +0000 (09:29 +0530)
committerJos Collin <jcollin@redhat.com>
Mon, 3 Apr 2017 03:59:38 +0000 (09:29 +0530)
commit4db1c9c61425dd7d2f8b99a33b004aa345b24f68
tree4198799e44356912136a85e0e313aa74acad5b59
parent2900ba55688042659a88edc8c9c7deded9ca36f4
tools: warning, ‘%.16x’ directive output truncated writing 16 bytes into a region of size 9.

The following warning appears during make.

    radosacl.cc:122:5: warning: ‘%.16x’ directive output truncated writing 16 bytes into a region of size 9 [-Wformat-truncation=]
     int main(int argc, const char **argv)
         ^~~~
                     from ./src/tools/radosacl.cc:19:
    /usr/include/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output 17 bytes into a destination of size 9
            __bos (__s), __fmt, __va_arg_pack ());

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/tools/radosacl.cc