This commit is contained in:
Elliot Lee 2004-12-17 16:27:59 +00:00
parent 9aedf7b7d6
commit 5209af1cd7

View File

@ -15,7 +15,7 @@
- printf (_("max total shared memory (pages) = %lu\n"), - printf (_("max total shared memory (pages) = %lu\n"),
- (unsigned long) shminfo.shmall); - (unsigned long) shminfo.shmall);
+ printf (_("max total shared memory (kbytes) = %lu\n"), + printf (_("max total shared memory (kbytes) = %lu\n"),
+ getpagesize()*((unsigned long) shminfo.shmall/1024UL)); + (getpagesize()*((unsigned long) shminfo.shmall)/1024UL);
printf (_("min seg size (bytes) = %lu\n"), printf (_("min seg size (bytes) = %lu\n"),
(unsigned long) shminfo.shmmin); (unsigned long) shminfo.shmmin);
return; return;