diff options
-rw-r--r-- | misc/buffer/patches/patch-ab | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/buffer/patches/patch-ab b/misc/buffer/patches/patch-ab new file mode 100644 index 00000000000..c10f674a4a8 --- /dev/null +++ b/misc/buffer/patches/patch-ab @@ -0,0 +1,18 @@ +$NetBSD: patch-ab,v 1.1 1999/04/05 02:00:49 hubertf Exp $ + +--- sem.c.BAK Mon Apr 5 03:56:15 1999 ++++ sem.c Mon Apr 5 03:57:04 1999 +@@ -148,10 +148,12 @@ + remove_sems( sem_id ) + int sem_id; + { ++ union semun dummy; ++ + if( sem_id == -1 ) + return; + +- if( semctl( sem_id, 0, IPC_RMID, NULL ) == -1 ){ ++ if( semctl( sem_id, 0, IPC_RMID, dummy ) == -1 ){ + report_proc(); + perror( "internal error, failed to remove semaphore" ); + } |