aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/shm_open.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-03-24 02:05:40 +0000
committerRoland McGrath <roland@gnu.org>2002-03-24 02:05:40 +0000
commit4caf4f3c256ebb79f08880d3d5176d16b9936671 (patch)
treef2d76269e9366bcd26f58b8b42ef2c6d7c9fb04c /sysdeps/posix/shm_open.c
parentb2b1c5938320f902594714303145936e80a2e42f (diff)
downloadglibc-4caf4f3c256ebb79f08880d3d5176d16b9936671.tar
glibc-4caf4f3c256ebb79f08880d3d5176d16b9936671.tar.gz
glibc-4caf4f3c256ebb79f08880d3d5176d16b9936671.tar.bz2
glibc-4caf4f3c256ebb79f08880d3d5176d16b9936671.zip
* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
* sysdeps/posix/shm_unlink.c: Likewise.
Diffstat (limited to 'sysdeps/posix/shm_open.c')
-rw-r--r--sysdeps/posix/shm_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/shm_open.c b/sysdeps/posix/shm_open.c
index eab5ee342e..b773d40db0 100644
--- a/sysdeps/posix/shm_open.c
+++ b/sysdeps/posix/shm_open.c
@@ -1,5 +1,5 @@
/* shm_open -- open a POSIX shared memory object. Generic POSIX file version.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001,02 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -31,7 +31,7 @@
#include <stdlib.h>
#include <paths.h>
-#define SHMDIR (_PATH_VARRUN "shm/")
+#define SHMDIR (_PATH_DEV "shm/")
/* Open shared memory object. */
int