summaryrefslogtreecommitdiff
path: root/lib/libc/gmon/gmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r--lib/libc/gmon/gmon.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 64c41686d41..d722ba3dbc0 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -32,7 +32,7 @@
*/
#if !defined(lint) && defined(LIBC_SCCS)
-static char rcsid[] = "$OpenBSD: gmon.c,v 1.7 1996/09/15 09:31:12 tholo Exp $";
+static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $";
#endif
#include <sys/param.h>
@@ -109,7 +109,7 @@ monstartup(lowpc, highpc)
s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1;
#else /* avoid floating point */
int quot = o / p->kcountsize;
-
+
if (quot >= 0x10000)
s_scale = 1;
else if (quot >= 0x100)
@@ -173,12 +173,12 @@ _mcleanup()
pid_t pid;
long divisor;
- /* If PROFDIR contains a null value, no profiling
+ /* If PROFDIR contains a null value, no profiling
output is produced */
if (*profdir == '\0') {
return;
}
-
+
limit = buf + sizeof buf - 1 - 10 - 1 -
strlen(__progname) - 1;
t = buf;
@@ -189,8 +189,8 @@ _mcleanup()
}
*t++ = '/';
- /*
- * Copy and convert pid from a pid_t to a string. For
+ /*
+ * Copy and convert pid from a pid_t to a string. For
* best performance, divisor should be initialized to
* the largest power of 10 less than PID_MAX.
*/
@@ -291,7 +291,7 @@ static int
hertz()
{
struct itimerval tim;
-
+
tim.it_interval.tv_sec = 0;
tim.it_interval.tv_usec = 1;
tim.it_value.tv_sec = 0;