OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / matherr.3
index d1f0d50..feff8d6 100644 (file)
@@ -2,6 +2,7 @@
 .\" Copyright (c) 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -21,6 +22,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .TH MATHERR 3 2010-09-10 "Linux" "Linux Programmer's Manual"
 .SH NAME
@@ -382,7 +384,7 @@ matherr(struct exception *exc)
            (exc\->type == PLOSS) ?     "PLOSS" : "???",
             exc\->name);
     fprintf(stderr, "        args:   %f, %f\\n",
-            exc\->arg1, exc->arg2);
+            exc\->arg1, exc\->arg2);
     fprintf(stderr, "        retval: %f\\n", exc\->retval);
 
     if (change_retval)
@@ -398,7 +400,7 @@ main(int argc, char *argv[])
 
     if (argc < 2) {
         fprintf(stderr, "Usage: %s <argval>"
-                " [<matherr\-ret> [<new\-func-retval>]]\\n", argv[0]);
+                " [<matherr\-ret> [<new\-func\-retval>]]\\n", argv[0]);
         exit(EXIT_FAILURE);
     }
 
@@ -424,3 +426,12 @@ main(int argc, char *argv[])
 .BR fenv (3),
 .BR math_error (7),
 .BR standards (7)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.