diff options
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_diskstat.c')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_diskstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/hud/hud_diskstat.c b/src/gallium/auxiliary/hud/hud_diskstat.c index fb64e3d906b..940758a3480 100644 --- a/src/gallium/auxiliary/hud/hud_diskstat.c +++ b/src/gallium/auxiliary/hud/hud_diskstat.c @@ -246,7 +246,7 @@ hud_get_num_disks(bool displayhelp) char name[64]; /* Return the number of block devices and partitions. */ - pipe_mutex_lock(gdiskstat_mutex); + mtx_lock(&gdiskstat_mutex); if (gdiskstat_count) { pipe_mutex_unlock(gdiskstat_mutex); return gdiskstat_count; |