git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
79e5189
)
darwin-afsd-cleanup-power-notification-nicely-20071023
author
Derrick Brashear
<shadow@dementia.org>
Tue, 23 Oct 2007 15:28:22 +0000 (15:28 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 23 Oct 2007 15:28:22 +0000 (15:28 +0000)
don't drop a core on shutdown
src/afsd/afsd.c
patch
|
blob
|
history
diff --git
a/src/afsd/afsd.c
b/src/afsd/afsd.c
index
6ee2615
..
9c8ed2a
100644
(file)
--- a/
src/afsd/afsd.c
+++ b/
src/afsd/afsd.c
@@
-430,7
+430,7
@@
afsd_event_cleanup(int signo) {
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), source, kCFRunLoopDefaultMode);
CFRelease (source);
- IODeregisterForSystemPower(iterator);
+ IODeregisterForSystemPower(&iterator);
IOServiceClose(root_port);
IONotificationPortDestroy(notify);