mirror of
https://github.com/libfuse/libfuse.git
synced 2026-07-07 14:47:41 +08:00
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:
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user