svn commit: r223857 - stable/8/usr.bin/calendar
Jaakko Heinonen
jh at FreeBSD.org
Fri Jul 8 06:28:36 UTC 2011
Author: jh
Date: Fri Jul 8 06:28:35 2011
New Revision: 223857
URL: http://svn.freebsd.org/changeset/base/223857
Log:
MFC r222755: Pass correct size to write(2).
PR: bin/155915
Modified:
stable/8/usr.bin/calendar/io.c
Directory Properties:
stable/8/usr.bin/calendar/ (props changed)
Modified: stable/8/usr.bin/calendar/io.c
==============================================================================
--- stable/8/usr.bin/calendar/io.c Fri Jul 8 03:21:28 2011 (r223856)
+++ stable/8/usr.bin/calendar/io.c Fri Jul 8 06:28:35 2011 (r223857)
@@ -346,7 +346,7 @@ closecal(FILE *fp)
write(pdes[1], pw->pw_name, strlen(pw->pw_name));
write(pdes[1], ">\nTo: <", 7);
write(pdes[1], pw->pw_name, strlen(pw->pw_name));
- write(pdes[1], ">\nSubject: ", 12);
+ write(pdes[1], ">\nSubject: ", 11);
write(pdes[1], dayname, strlen(dayname));
write(pdes[1], "'s Calendar\nPrecedence: bulk\n\n", 30);
More information about the svn-src-stable
mailing list