s3-lib: Use ARRAY_SIZE() to walk the error mapping tables
commitaa848c12eba441700557af78cb2ad23661d56f21
authorAndrew Bartlett <abartlet@samba.org>
Mon, 30 May 2011 22:44:02 +0000 (31 08:44 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 31 May 2011 00:57:19 +0000 (31 02:57 +0200)
tree3bbabde65a3a81cfd2bae6848a5917c79c9de0a3
parent8a75d738673adaca903fe71a0b9368b9bcaea4bd
s3-lib: Use ARRAY_SIZE() to walk the error mapping tables

This gives a constant termination condition, and may help the compiler.

Andrew Bartlett
source3/lib/errmap_unix.c