mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
fix to long mount name
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@203 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 573534280c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-01-23 (Sat, 23 Jan 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -266,7 +266,7 @@ void CDBoxInfoWidget::paint()
|
||||
blocks_used = s.f_blocks - s.f_bfree;
|
||||
blocks_percent_used = (long)(blocks_used * 100.0 / (blocks_used + s.f_bavail) + 0.5);
|
||||
snprintf(ubuf,buf_size,
|
||||
"%-10s % 7.2f%c % 7.2f%c % 7.2f%c % 5ld%%\n"
|
||||
"%10.10s % 7.2f%c % 7.2f%c % 7.2f%c % 5ld%%\n"
|
||||
,basename(mnt->mnt_fsname)
|
||||
,(s.f_blocks * (s.f_bsize / 1024.0)) / gb, c
|
||||
,((s.f_blocks - s.f_bfree) * (s.f_bsize / 1024.0)) / gb, c
|
||||
|
Reference in New Issue
Block a user