diff options
author | Brian Feldman <green@FreeBSD.org> | 2004-10-05 23:49:27 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2004-10-05 23:49:27 +0000 |
commit | 58f45f543ac50eae4c049e2dc983803a9819d29b (patch) | |
tree | 6ea7d19572c734128fb3c242a4e9f4baa638c303 /usr.bin/gprof/kernel.c | |
parent | 59fdf30f9270823808555ba22630aff50781a00b (diff) |
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/kernel.c')
-rw-r--r-- | usr.bin/gprof/kernel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/gprof/kernel.c b/usr.bin/gprof/kernel.c index 38cc91e369d2..dc456f5f97a9 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); } |