Module Name: src
Committed By: utkarsh009
Date: Fri Oct 27 11:15:03 UTC 2017
Modified Files:
src/share/man/man9: kprintf.9
Log Message:
Update the return type of printf(9)
from 'void' to 'int' as a result of
redeclaration in sys/sys/systm.h
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/share/man/man9/kprintf.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/kprintf.9
diff -u src/share/man/man9/kprintf.9:1.34 src/share/man/man9/kprintf.9:1.35
--- src/share/man/man9/kprintf.9:1.34 Wed Feb 1 18:47:24 2017
+++ src/share/man/man9/kprintf.9 Fri Oct 27 11:15:03 2017
@@ -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" "..."