X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fcollect%2Fcollect.c;h=0069dea0df3c18c63ee93cfc28e4ee4ffcfaebdd;hp=1ec833ac9fa5a43d087a4be9b4e6847a1ef1e747;hb=1230d021bd75de9b1503bbaa807d6a59789963db;hpb=6133f3432fe86bc140cc9ba74794826f75c915fa diff --git a/extras/collect/collect.c b/extras/collect/collect.c index 1ec833ac9..0069dea0d 100644 --- a/extras/collect/collect.c +++ b/extras/collect/collect.c @@ -124,7 +124,7 @@ static int prepare(char *dir, char *filename) * Read checkpoint file * * Tricky reading this. We allocate a buffer twice as large - * as we're goint to read. Then we read into the upper half + * as we're going to read. Then we read into the upper half * of that buffer and start parsing. * Once we do _not_ find end-of-work terminator (whitespace * character) we move the upper half to the lower half, @@ -331,8 +331,8 @@ static void everybody(void) case STATE_CONFIRMED: state = "confirmed"; break; - fprintf(stderr, "ID: %s=%s\n", him->name, state); } + fprintf(stderr, "ID: %s=%s\n", him->name, state); } }