PERFORCE change 167049 for review

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Aug 5 19:37:09 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=167049

Change 167049 by trasz at trasz_anger on 2009/08/05 19:36:57

	Reduce chattiness.  User should know what he's asking about.

Affected files ...

.. //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#22 edit

Differences ...

==== //depot/projects/soc2009/trasz_limits/usr.sbin/hrl/hrl.c#22 (text+ko) ====

@@ -196,7 +196,6 @@
 			err(1, "hrl_get_limits");
 	} while (error && errno == ERANGE);
 
-	printf("Resource utilisation:\n");
 	print_rules(outbuf);
 	free(filter);
 	free(outbuf);
@@ -238,7 +237,7 @@
 		if (*tmp == ',')
 			*tmp = '\n';
 
-	printf("Resource utilisation:\n%s\n", outbuf);
+	printf("%s\n", outbuf);
 	free(filter);
 	free(outbuf);
 }
@@ -269,7 +268,6 @@
 			err(1, "hrl_get_rules");
 	} while (error && errno == ERANGE);
 
-	printf("Defined resource limits:\n");
 	print_rules(outbuf);
 	free(outbuf);
 }


More information about the p4-projects mailing list