diff options
-rw-r--r-- | usr.sbin/bsdinstall/distextract/distextract.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/distextract/distextract.c b/usr.sbin/bsdinstall/distextract/distextract.c index c7eea9d..397932f 100644 --- a/usr.sbin/bsdinstall/distextract/distextract.c +++ b/usr.sbin/bsdinstall/distextract/distextract.c @@ -96,6 +96,8 @@ count_files(const char *file) if (manifest != NULL) { char line[512]; char *tok1, *tok2; + + rewind(manifest); while (fgets(line, sizeof(line), manifest) != NULL) { tok2 = line; tok1 = strsep(&tok2, "\t"); |