A minor fault in documentation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I looked at the documentation on posix threads and found a bug.

PTREAD_ATTR_INIT (3)

the prinf at line 6o or so

<pre>
a = ptread_attr_guardsize(attr, §v);
if (s != 0)
handle_error_en(s, “pthread_attr_getguardsize”);
printf(“%s:Guard size            = %d butes\n”, prefix, v);
</pre>

The ‘%d' above should be changed to ‘%lu’ since it is an unsigned long integer.
Samll change but it will not generate a warning on GCC compiler.

A great effort that you guys had done.

BR / Göran Häggsjö


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux