Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/examples/libsmbclient/testchmod.c

    r414 r988  
    99int main(int argc, char * argv[])
    1010{
    11     int             ret;
    1211    int             debug = 0;
    1312    int             mode = 0666;
    14     char            buffer[16384];
    15     char *          pSmbPath = NULL;
     13    const char *          pSmbPath = NULL;
    1614    struct stat     st;
    1715   
     
    4543    }
    4644   
    47     printf("\nBefore chmod: mode = %04o\n", st.st_mode);
     45    printf("\nBefore chmod: mode = %04o\n", (unsigned int)st.st_mode);
    4846   
    4947    if (smbc_chmod(pSmbPath, mode) < 0)
     
    5957    }
    6058   
    61     printf("After chmod: mode = %04o\n", st.st_mode);
     59    printf("After chmod: mode = %04o\n", (unsigned int)st.st_mode);
    6260   
    6361    return 0;
Note: See TracChangeset for help on using the changeset viewer.