summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-07-18 10:03:26 +0000
committerderaadt <deraadt@openbsd.org>1996-07-18 10:03:26 +0000
commitf7a4d1309ecf77a0f3bbcf1c9679e20e63a27317 (patch)
tree5f67c434ab13ff0a88059a12e84952ae8d44d71d
parentdaily: disable the fscks by default. (diff)
downloadwireguard-openbsd-f7a4d1309ecf77a0f3bbcf1c9679e20e63a27317.tar.xz
wireguard-openbsd-f7a4d1309ecf77a0f3bbcf1c9679e20e63a27317.zip
kernel is _PATH_UNIX
-rw-r--r--gnu/usr.bin/gdb/gdb/infptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/gdb/infptrace.c b/gnu/usr.bin/gdb/gdb/infptrace.c
index 8a88da58e4b..c50445e097e 100644
--- a/gnu/usr.bin/gdb/gdb/infptrace.c
+++ b/gnu/usr.bin/gdb/gdb/infptrace.c
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: infptrace.c,v 1.1.1.1 1995/10/18 08:40:00 deraadt Exp $
+ $Id: infptrace.c,v 1.2 1996/07/18 10:03:26 deraadt Exp $
*/
#include "defs.h"
@@ -185,7 +185,7 @@ _initialize_kernel_u_addr ()
names[0].n_un.n_name = "_u";
names[1].n_un.n_name = NULL;
- if (nlist ("/netbsd", names) == 0)
+ if (nlist (_PATH_UNIX, names) == 0)
kernel_u_addr = names[0].n_value;
else
fatal ("Unable to get kernel u area address.");