Changeset 944 for branches


Ignore:
Timestamp:
Jul 31, 2016, 11:47:28 AM (9 years ago)
Author:
Paul Smedley
Message:

Fix debug messages in smbwrp_dskattr to reflect use of cli_disk_size

File:
1 edited

Legend:

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

    r943 r944  
    14831483        if (!NT_STATUS_IS_OK(cli_disk_size(cli, "", &bsize, &total, &avail)))
    14841484        {
    1485                 debuglocal(4,"Error in dskattr: %s\n",cli_errstr(cli));
     1485                debuglocal(4,"Error in cli_disk_size: %s\n",cli_errstr(cli));
    14861486                return os2cli_errno(cli);
    14871487        }
    14881488
    1489         debuglocal(4,"\n\t\t%d blocks of size %d. %d blocks available\n",
    1490                  total, bsize, avail);
     1489        debuglocal(4,"\n\t\t%" PRIu64
     1490                " blocks of size %" PRIu64
     1491                ". %" PRIu64 " blocks available\n",
     1492                total, bsize, avail);
    14911493
    14921494        // YD currently Samba return it in MB!
Note: See TracChangeset for help on using the changeset viewer.