765 translated messages762 translated messages, 1 untranslated message.
.
isrmt.c: In function ‘isrmt’:
isrmt.c:30:5: warning: old-style function definition [-Wold-style-definition]
30 | int isrmt (fd)
| ^~~~~
rmtdev.c: In function ‘_rmt_dev’:
rmtdev.c:32:5: warning: old-style function definition [-Wold-style-definition]
32 | int _rmt_dev (path)
| ^~~~~~~~
rmtisatty.c: In function ‘rmtisatty’:
rmtisatty.c:31:5: warning: old-style function definition [-Wold-style-definition]
31 | int rmtisatty (fd)
| ^~~~~~~~~
rmtclose.c: In function ‘rmtclose’:
rmtclose.c:32:5: warning: old-style function definition [-Wold-style-definition]
32 | int rmtclose (fildes)
| ^~~~~~~~
rmtread.c: In function ‘rmtread’:
rmtread.c:36:5: warning: old-style function definition [-Wold-style-definition]
36 | int rmtread (fildes, buf, nbyte)
| ^~~~~~~
rmtcommand.c: In function ‘_rmt_command’:
rmtcommand.c:35:5: warning: old-style function definition [-Wold-style-definition]
35 | int _rmt_command(fildes, buf)
| ^~~~~~~~~~~~
rmtlseek.c: In function ‘rmtlseek’:
rmtlseek.c:35:7: warning: old-style function definition [-Wold-style-definition]
35 | off_t rmtlseek (fildes, offset, whence)
| ^~~~~~~~
rmtfstat.c: In function ‘rmtfstat’:
rmtfstat.c:38:5: warning: old-style function definition [-Wold-style-definition]
38 | int rmtfstat (fildes, buf)
| ^~~~~~~~
rmtstatus.c: In function ‘_rmt_status’:
rmtstatus.c:34:5: warning: old-style function definition [-Wold-style-definition]
34 | int _rmt_status(fildes)
| ^~~~~~~~~~~
rmtaccess.c: In function ‘rmtaccess’:
rmtaccess.c:32:5: warning: old-style function definition [-Wold-style-definition]
32 | int rmtaccess (path, amode)
| ^~~~~~~~~
rmtcreat.c: In function ‘rmtcreat’:
rmtcreat.c:35:5: warning: old-style function definition [-Wold-style-definition]
35 | int rmtcreat (path, mode)
| ^~~~~~~~
rmtwrite.c: In function ‘rmtwrite’:
rmtwrite.c:36:5: warning: old-style function definition [-Wold-style-definition]
36 | int rmtwrite (fildes, buf, nbyte)
| ^~~~~~~~
rmtopen.c: In function ‘rmtopen’:
rmtopen.c:61:5: warning: old-style function definition [-Wold-style-definition]
61 | int rmtopen (path, oflag, mode)
| ^~~~~~~
fstab.c: In function ‘fstab_highlight’:
fstab.c:167:41: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 248 [-Wformat-truncation=]
167 | snprintf(txt, sizeof(txt), "device: %s", fstabentry->ft_devpath);
| ^~
In file included from /usr/include/stdio.h:970,
from /usr/include/malloc.h:25,
from /usr/include/xfs/linux.h:21,
from /usr/include/xfs/xfs.h:9,
from fstab.c:19:
In function ‘snprintf’,
inlined from ‘fstab_highlight’ at fstab.c:167:5:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 9 and 264 bytes into a destination of size 256
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
invidx.c: In function ‘invidx_highlight’:
invidx.c:705:40: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 249 [-Wformat-truncation=]
705 | snprintf(txt, sizeof(txt), "path: %s", invtentry->ie_filename);
| ^~
In file included from /usr/include/stdio.h:970,
from /usr/include/malloc.h:25,
from /usr/include/xfs/linux.h:21,
from /usr/include/xfs/xfs.h:9,
from invidx.c:19:
In function ‘snprintf’,
inlined from ‘invidx_highlight’ at invidx.c:705:5:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 8 and 263 bytes into a destination of size 256
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
invidx.c: In function ‘invidx_commit’:
invidx.c:323:47: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=]
323 | snprintf(cmd, sizeof(cmd), "cp %s %s", stobjfile, dst_stobjfile);
| ^~ ~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘invidx_commit’ at invidx.c:323:6:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 5 or more bytes (assuming 4100) into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
invidx.c: In function ‘invidx_commit’:
invidx.c:253:51: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 1020 [-Wformat-truncation=]
253 | snprintf(cmd, sizeof(cmd), "cp %s %s", stobjfile, dst_stobjfile);
| ^~ ~~~~~~~~~~~~~
In function ‘snprintf’,
inlined from ‘invidx_commit’ at invidx.c:253:3:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 5 or more bytes (assuming 4100) into a destination of size 1024
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
stobj.c: In function ‘stobjsess_highlight’:
stobj.c:199:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=]
199 | snprintf(txt, sizeof(txt), "mountpt: %s, fsid: %s", stobjses->s_mountpt, uuidstr);
| ^~
In file included from /usr/include/stdio.h:970,
from /usr/include/malloc.h:25,
from /usr/include/xfs/linux.h:21,
from /usr/include/xfs/xfs.h:9,
from stobj.c:19:
In function ‘snprintf’,
inlined from ‘stobjsess_highlight’ at stobj.c:199:5:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 18 and 310 bytes into a destination of size 256
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
stobj.c: In function ‘stobjsess_highlight’:
stobj.c:203:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=]
203 | snprintf(txt, sizeof(txt), "device: %s, sesid: %s", stobjses->s_devpath, uuidstr);
| ^~
In function ‘snprintf’,
inlined from ‘stobjsess_highlight’ at stobj.c:203:5:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 19 and 311 bytes into a destination of size 256
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
stobj.c: In function ‘stobjstrm_highlight’:
stobj.c:227:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 230 and 231 [-Wformat-truncation=]
227 | snprintf(txt, sizeof(txt), "interrupted: %s, cmdarg: %s",
| ^~
In function ‘snprintf’,
inlined from ‘stobjstrm_highlight’ at stobj.c:227:5:
/usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 26 and 282 bytes into a destination of size 256
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
content.c: In function ‘Media_prompt_erase’:
content.c:6379:18: warning: ‘__builtin___sprintf_chk’ writing a terminating nul past the end of the destination [-Wformat-overflow=]
6379 | "pre-erase (-%c) option specified "
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
content.c:6382:29: note: format string is defined here
6382 | "drive %u\n",
| ^
In file included from /usr/include/stdio.h:970,
from /usr/include/malloc.h:25,
from content.c:31:
In function ‘sprintf’,
inlined from ‘Media_prompt_erase’ at content.c:6378:2:
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 101 and 110 bytes into a destination of size 100
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
content.c: In function ‘restore_extattr’:
content.c:8635:27: warning: unused variable ‘strctxp’ [-Wunused-variable]
8635 | stream_context_t *strctxp = (stream_context_t *)drivep->d_strmcontextp;
| ^~~~~~~