aboutsummaryrefslogtreecommitdiff
path: root/q.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-09 00:21:19 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-09 00:21:19 +0000
commita11a35cb47afcfe6737c87dab64c60e54fac165b (patch)
tree57133796c7e9a85759650cba0723d8580125d27b /q.c
parent- equery.. (diff)
downloadportage-utils-a11a35cb47afcfe6737c87dab64c60e54fac165b.tar.gz
portage-utils-a11a35cb47afcfe6737c87dab64c60e54fac165b.tar.bz2
portage-utils-a11a35cb47afcfe6737c87dab64c60e54fac165b.zip
import start of a qcheck applet
Diffstat (limited to 'q.c')
-rw-r--r--q.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/q.c b/q.c
index 3508792b..d1a3c6fa 100644
--- a/q.c
+++ b/q.c
@@ -1,7 +1,7 @@
/*
* Copyright 2005 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/q.c,v 1.12 2005/06/08 23:31:25 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/q.c,v 1.13 2005/06/09 00:21:19 vapier Exp $
*
* 2005 Ned Ludd - <solar@gentoo.org>
* 2005 Mike Frysinger - <vapier@gentoo.org>
@@ -74,7 +74,7 @@ int q_main(int argc, char **argv)
warnf("could not chdir to '%s': %s", buf, strerror(errno));
return 1;
}
- for (i = 1; applets[i].name; ++i) {
+ for (i = 1; i <= LAST_APPLET; ++i) {
printf(" %s ...", applets[i].name);
errno = 0;
symlink("q", applets[i].name);