Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Update the return type of printf(9)



details:   https://anonhg.NetBSD.org/src/rev/de881415f0c3
branches:  trunk
changeset: 827415:de881415f0c3
user:      utkarsh009 <utkarsh009%NetBSD.org@localhost>
date:      Fri Oct 27 11:15:03 2017 +0000

description:
Update the return type of printf(9)

from 'void' to 'int' as a result of
redeclaration in sys/sys/systm.h

diffstat:

 share/man/man9/kprintf.9 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 90fb30953ff7 -r de881415f0c3 share/man/man9/kprintf.9
--- a/share/man/man9/kprintf.9  Fri Oct 27 09:59:17 2017 +0000
+++ b/share/man/man9/kprintf.9  Fri Oct 27 11:15:03 2017 +0000
@@ -1,4 +1,4 @@
-.\"     $NetBSD: kprintf.9,v 1.34 2017/02/01 18:47:24 abhinav Exp $
+.\"     $NetBSD: kprintf.9,v 1.35 2017/10/27 11:15:03 utkarsh009 Exp $
 .\"
 .\" Copyright (c) 1998, 2002, 2007, 2011 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -63,7 +63,7 @@
 .In sys/systm.h
 .Ft void
 .Fn "device_printf" "device_t" "const char *format" "..."
-.Ft void
+.Ft int
 .Fn "printf" "const char *format" "..."
 .Ft void
 .Fn "printf_nolog" "const char *format" "..."



Home | Main Index | Thread Index | Old Index