Subject: Re: kern/21107: genfs_putpages modifies page tables without proper locking
To: None <buhrow@lothlorien.nfbcal.org>
From: Ben Harris <bjh21@netbsd.org>
List: netbsd-bugs
Date: 04/20/2003 21:47:51
In article <200304201944.h3KJi6e15031@lothlorien.nfbcal.org> you write:
>	I appologize for my ignorance, but what does the variable __LINE__
>represent?  Is it just the line number of the code currently executing?

Yes, though it's actually a compile-time constant, not a variable.

>What is it used for?

In this case, providing __assert() with the line number from which it was
called so that it can include it in the assertion-failed message.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>