Skip to content

Commit f24e433

Browse files
committed
[procfs] fix compiler warnings
1 parent c45fa21 commit f24e433

File tree

1 file changed

+1
-1
lines changed
  • components/dfs/dfs_v2/filesystems/procfs

1 file changed

+1
-1
lines changed

components/dfs/dfs_v2/filesystems/procfs/procfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static int dfs_procfs_stat(struct dfs_dentry *dentry, struct stat *st)
293293
{
294294
vnode = dentry->vnode;
295295

296-
st->st_dev = (dev_t)(dentry->mnt->dev_id);
296+
st->st_dev = (dev_t)(rt_ubase_t)(dentry->mnt->dev_id);
297297
st->st_ino = (ino_t)dfs_dentry_full_path_crc32(dentry);
298298

299299
st->st_gid = vnode->gid;

0 commit comments

Comments
 (0)