summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-05-21 22:32:17 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-05-21 22:32:17 +0000
commitf6d8252bdfda51c2cdf8e21249db7e5206820b51 (patch)
treec9298c6298716b195fe0fc4582f7ca8296fdd219
parenta8900502ab69520adb88b1f740f0d55789d2cf2c (diff)
2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg>
* rpctrace.c (parse_msgid_list): Fixed the check that tests if we read exactly 3 fields from each line.
-rw-r--r--utils/ChangeLog5
-rw-r--r--utils/rpctrace.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/utils/ChangeLog b/utils/ChangeLog
index 9e20fe74..84e2fbb0 100644
--- a/utils/ChangeLog
+++ b/utils/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-20 Ognyan Kulev <ogi@fmi.uni-sofia.bg>
+
+ * rpctrace.c (parse_msgid_list): Fixed the check that tests if we
+ read exactly 3 fields from each line.
+
2002-05-13 Marcus Brinkmann <marcus@gnu.org>
* fakeauth.c (main): Register NEWTASK as a child with the proc
diff --git a/utils/rpctrace.c b/utils/rpctrace.c
index e88c1141..9571a2ee 100644
--- a/utils/rpctrace.c
+++ b/utils/rpctrace.c
@@ -94,7 +94,7 @@ parse_msgid_list (const char *filename)
if (buffer[0] == '#' || buffer[0] == '\0')
continue;
if (sscanf (buffer, "%as %*u %as %*u %u %*u\n",
- &subsystem, &name, &msgid) != 2)
+ &subsystem, &name, &msgid) != 3)
error (0, 0, "%s:%u: invalid format in RPC list file",
filename, lineno);
else