diff options
author | Christian Ambach <ambi@samba.org> | 2013-04-16 12:39:55 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2013-05-06 16:33:38 +0200 |
commit | e0a0280c4fcf85f28b488d3868be38123910271c (patch) | |
tree | e0cb59389cf050df3c646399d91051bac9a20bc4 /source3/utils | |
parent | 24ce31a33ff15b11e5c5024b911637a46bbd59ea (diff) | |
download | samba-e0a0280c4fcf85f28b488d3868be38123910271c.tar.gz samba-e0a0280c4fcf85f28b488d3868be38123910271c.tar.bz2 samba-e0a0280c4fcf85f28b488d3868be38123910271c.zip |
s3:utils fix wrong usage of PRIu64 in sscanf
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbcquotas.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c index 7363d6b4a3..b875b1eea3 100644 --- a/source3/utils/smbcquotas.c +++ b/source3/utils/smbcquotas.c @@ -187,7 +187,9 @@ static int parse_quota_set(TALLOC_CTX *ctx, switch (todo) { case PARSE_LIM: - if (sscanf(p,"%"PRIu64"/%"PRIu64,&pqt->softlim,&pqt->hardlim)!=2) { + if (sscanf(p,"%"SCNu64"/%"SCNu64,&pqt->softlim, + &pqt->hardlim) != 2) + { return -1; } |