diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-03-06 02:09:30 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:48:48 -0700 |
commit | 5f335ca4afaa189799225f856f3af8b3d9fd2e1c (patch) | |
tree | 2a5411ce12f11c1fcbfdd2875db299259230262f /libsysfs | |
parent | 30c6b4c9a22edc76b2e8335edbdf157dd51241eb (diff) |
[PATCH] klibc_fixups: remove no longer needed stuff
Diffstat (limited to 'libsysfs')
-rw-r--r-- | libsysfs/sysfs_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsysfs/sysfs_dir.c b/libsysfs/sysfs_dir.c index c86617934b..63eec7bb9a 100644 --- a/libsysfs/sysfs_dir.c +++ b/libsysfs/sysfs_dir.c @@ -150,7 +150,7 @@ int sysfs_read_attribute(struct sysfs_attribute *sysattr) errno = EACCES; return -1; } - pgsize = sysconf(_SC_PAGESIZE); + pgsize = getpagesize(); fbuf = (char *)calloc(1, pgsize+1); if (!fbuf) { dprintf("calloc failed\n"); |