From e0a0280c4fcf85f28b488d3868be38123910271c Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 16 Apr 2013 12:39:55 +0200 Subject: s3:utils fix wrong usage of PRIu64 in sscanf Signed-off-by: Christian Ambach Reviewed-by: Michael Adam --- source3/utils/smbcquotas.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit