Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2009 19:37:08 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167049 for review
Message-ID:  <200908051937.n75Jb8Ol091757@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167049

Change 167049 by trasz@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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908051937.n75Jb8Ol091757>