summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-03-14 14:48:03 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-03-14 14:48:03 +0000
commit7f1939e6d73479968123d7610e227536b13f3ff2 (patch)
treecaea88bed0931359696d486cc614059277b639a4 /lib/libc
parentb18d71f092270cc3a1dcc993f38f98fe1dcf986b (diff)
(char *)0 -> NULL
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gmon/gmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 3ac54b3dc48..886505f0c79 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gmon.c,v 1.27 2016/03/13 18:34:20 guenther Exp $ */
+/* $OpenBSD: gmon.c,v 1.28 2016/03/14 14:48:02 mmcc Exp $ */
/*-
* Copyright (c) 1983, 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -302,7 +302,7 @@ moncontrol(int mode)
p->state = GMON_PROF_ON;
} else {
/* stop */
- profil((char *)0, 0, 0, 0);
+ profil(NULL, 0, 0, 0);
p->state = GMON_PROF_OFF;
}
}