Horatio Zhang 5cd49fb600 wsl/hsakmt: Resolve snprintf Truncation Warning
This patch addresses a warning encountered during the build process:
warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a
region of size between 0 and 544 [-Wformat-truncation=]
     snprintf(path, MAXPATHSIZE, "%s/%s/cache", node_dir, dir->d_name);
                                     ^~
note: ‘snprintf’ output between 8 and 807 bytes into a destination of size 545
     snprintf(path, MAXPATHSIZE, "%s/%s/cache", node_dir, dir->d_name);
     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Part-of: <http://10.67.69.192/wsl/libhsakmt/-/merge_requests/38>
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:35 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:15 +08:00
2025-11-05 18:53:35 +08:00
S
Описание
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Разное 1.1%