diff options
author | dg <dg@FreeBSD.org> | 1995-02-13 13:45:04 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-02-13 13:45:04 +0000 |
commit | a0467b5c60c06f9056fe2dc63d317b459abea1e5 (patch) | |
tree | 144e371a5e96f605efa02856c05dcb3da7fdf87d /lib/libncurses | |
parent | 0a5b8602355114c97d24d95ede58cea8725b1257 (diff) | |
download | FreeBSD-src-a0467b5c60c06f9056fe2dc63d317b459abea1e5.zip FreeBSD-src-a0467b5c60c06f9056fe2dc63d317b459abea1e5.tar.gz |
In sync(), don't dereference the proc pointer if it's NULL. Should fix
most or all of the problems with calling sync() without a curproc (which
can happen in machdep.c during a panic sync).
Diffstat (limited to 'lib/libncurses')
0 files changed, 0 insertions, 0 deletions