diff options
-rw-r--r-- | gendepslist2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gendepslist2.cc b/gendepslist2.cc index 4ca6696..f2508e6 100644 --- a/gendepslist2.cc +++ b/gendepslist2.cc @@ -283,7 +283,7 @@ void printDepslist(ofstream *out1, ofstream *out2) { vector<string> put_first_ = split(' ', put_first); vector<string> packages; - int nb2hdlist[packages.size()]; + int nb2hdlist[names.size()]; for (int i = 0; i < nb_hdlists; i++) { set<string> list = hdlist2names[i]; while (list.begin() != list.end()) { |