diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 14:18:09 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-09-21 14:18:09 +0200 |
commit | fc186a1d87ff6c58db228740cc9b04da164c7af1 (patch) | |
tree | 329bbb3eec70e7e46f4534b71a9cbbe5bcd2d133 /utils | |
parent | a084d0985fc7fc08446998b9b171318b6d3b6592 (diff) |
Fix sscanf format for c99
* utils/rpctrace.c (parse_msgid_list): Use %ms instead of %as in sscanf
format.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/rpctrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c index 281991ca..ef7ab536 100644 --- a/utils/rpctrace.c +++ b/utils/rpctrace.c @@ -152,7 +152,7 @@ parse_msgid_list (const char *filename) ++lineno; if (buffer[0] == '#' || buffer[0] == '\0') continue; - if (sscanf (buffer, "%as %*u %as %*u %u %*u\n", + if (sscanf (buffer, "%ms %*u %ms %*u %u %*u\n", &subsystem, &name, &msgid) != 3) error (0, 0, "%s:%u: invalid format in RPC list file", filename, lineno); |