Changeset 943


Ignore:
Timestamp:
Jul 31, 2016, 7:36:27 AM (9 years ago)
Author:
Paul Smedley
Message:

Use cli_disk_size in lieu of cli_dskattr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/client-3.0/src/smbwrp.c

    r942 r943  
    14741474int _System smbwrp_dskattr(cli_state * cli, FSALLOCATE *pfsa)
    14751475{
    1476         int total, bsize, avail;
     1476        uint64_t total, bsize, avail;
    14771477
    14781478        if (!cli || !pfsa)
     
    14811481        }
    14821482
    1483         if (!NT_STATUS_IS_OK(cli_dskattr(cli, &bsize, &total, &avail)))
     1483        if (!NT_STATUS_IS_OK(cli_disk_size(cli, "", &bsize, &total, &avail)))
    14841484        {
    14851485                debuglocal(4,"Error in dskattr: %s\n",cli_errstr(cli));
Note: See TracChangeset for help on using the changeset viewer.