diff options
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/df.c b/toys/posix/df.c index a93a762c..e1fd35f4 100644 --- a/toys/posix/df.c +++ b/toys/posix/df.c @@ -134,7 +134,7 @@ static void show_mt(struct mtab_list *mt, int measuring) if (used*100 != percent*(used+avail)) percent++; } - device = *mt->device == '/' ? realpath(mt->device, NULL) : NULL; + device = *mt->device == '/' ? xabspath(mt->device, 0) : NULL; if (!device) device = mt->device; if (measuring) { |