Commit dc8bc2e2 authored by Richard P. Curnow's avatar Richard P. Curnow

Improve grammar in verbose messages

parent 32196158
......@@ -374,7 +374,7 @@ static char *write_messages(struct database *db, struct write_map *map, unsigned
}
}
if (verbose) {
printf("Wrote %d messages (%d bytes tables, %d bytes text)\n",
printf("Wrote %d messages (%d bytes of tables, %d bytes of text)\n",
db->n_msgs, 4*5*db->n_msgs, (int)(cdata - start_cdata));
}
return cdata; /* new value */
......@@ -410,7 +410,7 @@ static char *write_mbox_headers(struct database *db, struct write_map *map, uns
}
}
if (verbose) {
printf("Wrote %d mbox headers (%d bytes tables, %d bytes paths)\n",
printf("Wrote %d mbox headers (%d bytes of tables, %d bytes of paths)\n",
db->n_mboxen, 4*4*db->n_mboxen, (int)(cdata - start_cdata));
}
return cdata;
......@@ -485,7 +485,7 @@ static char *write_toktable(struct toktable *tab, struct write_map_toktable *map
}
if (verbose) {
printf("%s: Wrote %d tokens (%d bytes tables, %d bytes of text, %d bytes of hit encoding)\n",
printf("%s: Wrote %d tokens (%d bytes of tables, %d bytes of text, %d bytes of hit encoding)\n",
header_name, n, 2*4*n, (int)(mid_cdata - start_cdata), (int)(cdata - mid_cdata));
}
......@@ -550,7 +550,7 @@ static char *write_toktable2(struct toktable2 *tab, struct write_map_toktable2 *
}
if (verbose) {
printf("%s: Wrote %d tokens (%d bytes tables, %d bytes of text, %d bytes of hit encoding)\n",
printf("%s: Wrote %d tokens (%d bytes of tables, %d bytes of text, %d bytes of hit encoding)\n",
header_name, n, 2*4*n, (int)(mid_cdata - start_cdata), (int)(cdata - mid_cdata));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment