Skip to content

Commit

Permalink
sharedarray: improve error msg on bsd family
Browse files Browse the repository at this point in the history
  • Loading branch information
iblislin committed Feb 23, 2017
1 parent 2a19c36 commit 162a61d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions base/sharedarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,12 @@ function print_shmem_limits(slen)
pfx = "kernel"
elseif is_apple()
pfx = "kern.sysv"
elseif Sys.KERNEL == :FreeBSD || Sys.KERNEL == :DragonFly
pfx = "kern.ipc"
elseif Sys.KERNEL == :OpenBSD
pfx = "kern.shminfo"
else
# seems NetBSD does not have *.shmall
return
end

Expand Down

0 comments on commit 162a61d

Please sign in to comment.