summaryrefslogtreecommitdiff
path: root/usr.bin/gprof
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2004-10-05 23:49:27 +0000
committerBrian Feldman <green@FreeBSD.org>2004-10-05 23:49:27 +0000
commit58f45f543ac50eae4c049e2dc983803a9819d29b (patch)
tree6ea7d19572c734128fb3c242a4e9f4baa638c303 /usr.bin/gprof
parent59fdf30f9270823808555ba22630aff50781a00b (diff)
downloadsrc-test-58f45f543ac50eae4c049e2dc983803a9819d29b.tar.gz
src-test-58f45f543ac50eae4c049e2dc983803a9819d29b.zip
Make sure to return 0 from kernel_getnfile() since if there were an
error, it would exit() (and it needs to return a value).
Notes
Notes: svn path=/head/; revision=136175
Diffstat (limited to 'usr.bin/gprof')
-rw-r--r--usr.bin/gprof/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/gprof/kernel.c b/usr.bin/gprof/kernel.c
index 38cc91e369d20..dc456f5f97a96 100644
--- a/usr.bin/gprof/kernel.c
+++ b/usr.bin/gprof/kernel.c
@@ -60,4 +60,5 @@ kernel_getnfile(const char *unused, char ***defaultEs)
npe->value = -1;
*defaultEs = excludes;
+ return (0);
}