]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/accounting/getdelays.c
Documentation/accounting/getdelays.c: fix endless loop
[linux-2.6-omap-h63xx.git] / Documentation / accounting / getdelays.c
index cc49400b4af899abf34b30cf955b52d378617948..7ea231172c850db1a7eed7127d0bb8a036e56364 100644 (file)
@@ -392,6 +392,10 @@ int main(int argc, char *argv[])
                        goto err;
                }
        }
+       if (!maskset && !tid && !containerset) {
+               usage();
+               goto err;
+       }
 
        do {
                int i;