diff options
author | Richard Sharpe <sharpe@samba.org> | 2002-11-02 06:21:10 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2002-11-02 06:21:10 +0000 |
commit | 82f6b264037a2f1b882dc75bc43c6c8b41477270 (patch) | |
tree | 55263591923a9db2a93c07336a0d6f66ea6adcd3 /source/utils/profiles.c | |
parent | f91c363bc05d1c82ad8a99a5c0d59b46cf820aac (diff) | |
download | samba-82f6b264037a2f1b882dc75bc43c6c8b41477270.tar.gz samba-82f6b264037a2f1b882dc75bc43c6c8b41477270.tar.xz samba-82f6b264037a2f1b882dc75bc43c6c8b41477270.zip |
Make sure that %u is used for SID elements ...
Diffstat (limited to 'source/utils/profiles.c')
-rw-r--r-- | source/utils/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/profiles.c b/source/utils/profiles.c index c8d875dfab6..c939af276de 100644 --- a/source/utils/profiles.c +++ b/source/utils/profiles.c @@ -435,7 +435,7 @@ int get_sid(DOM_SID *sid, char *sid_str) lstr = sid_str + 5; while (1) { - if (!lstr || !lstr[0] || sscanf(lstr, "-%d", &auth) == 0) { + if (!lstr || !lstr[0] || sscanf(lstr, "-%u", &auth) == 0) { if (i < 4) { fprintf(stderr, "Not of form -d-d...: %s, %u\n", lstr, i); return 0; |