test_setattr: fix const cppcheck warning

Add const to 'mountpoint' function parameter.

Fixes cppcheck warning:
- cppcheck-constParameterPointer

Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
This commit is contained in:
Bernd Schubert
2026-04-05 13:30:46 +02:00
parent 2cf9a33589
commit 2fc904c38a
+2 -1
View File
@@ -134,7 +134,8 @@ static void* run_fs(void *data) {
return NULL;
}
static void test_fs(char *mountpoint) {
static void test_fs(const char *mountpoint)
{
char fname[PATH_MAX];
int fd;