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