diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-03 13:19:12 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-02-03 12:40:37 +0000 |
| commit | 452586e84ad54ca23dee399bf9809c49e7171f36 (patch) | |
| tree | 7db1a71ec3a10cf390a75d8ed1107655363e8e8c /apt-private | |
| parent | c303750ecb89b7210fe998515432e358b3cc0cff (diff) | |
Measure BootSize as integer
I don't know why I used a double here this is awkward.
Diffstat (limited to 'apt-private')
| -rw-r--r-- | apt-private/private-install.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index 3f05cf9fb..208a27749 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -348,8 +348,8 @@ bool InstallPackages(CacheFile &Cache, APT::PackageVector &HeldBackPackages, boo if (statvfs(_config->FindDir("Dir::Usr").c_str(), &st) == 0) { struct statvfs st_boot; - double BootSize = 0; - double InitrdSize = 0; + unsigned long long BootSize = 0; + unsigned long long InitrdSize = 0; if (statvfs(_config->FindDir("Dir::Boot").c_str(), &st_boot) == 0 && st_boot.f_fsid != st.f_fsid) BootSize = Cache->BootSize(false); else |
