* sysvipc/ftok.c: use variable `proj_id' not `id'. Patch by
David Mosberger-Tang.
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
if (__stat (pathname, &st) < 0)
return (key_t) -1;
- key = (st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | (id << 24);
+ key = (st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16) | (proj_id << 24);
return key;
}