diff options
| author | angryproton <[email protected]> | 2025-12-25 22:50:13 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-12-27 10:46:50 +0800 |
| commit | df85c74265e09abcd1d9ca138b898f1ce5fbf591 (patch) | |
| tree | c3151a73e5a36bf690a991a69ed82b1d664882fe /components | |
| parent | 3a78e8e74ce2bf0061ff9c7ce38e4bfcef45add7 (diff) | |
[FIX][DFSv2][ELMFAT]解决dfs_elm_unlink在FF_VOLUMES为1时赋值drivers_fn引用未定义变量导致编译报错的问题
Diffstat (limited to 'components')
| -rw-r--r-- | components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c b/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c index 8ddeec2d42..90b87a178b 100644 --- a/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c +++ b/components/dfs/dfs_v2/filesystems/elmfat/dfs_elm.c @@ -784,7 +784,7 @@ int dfs_elm_unlink(struct dfs_dentry *dentry) rt_snprintf(drivers_fn, 256, "%d:%s", vol, dentry->pathname); #else const char *drivers_fn; - drivers_fn = path; + drivers_fn = dentry->pathname; #endif result = f_unlink(drivers_fn); |
