Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Flip the order of two lines I mixed. Thanks to wiz ...



details:   https://anonhg.NetBSD.org/src/rev/e02ea9f8138c
branches:  trunk
changeset: 572650:e02ea9f8138c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 09 20:25:26 2005 +0000

description:
Flip the order of two lines I mixed. Thanks to wiz for noticing.

diffstat:

 sys/kern/sys_process.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 58333c33fe4c -r e02ea9f8138c sys/kern/sys_process.c
--- a/sys/kern/sys_process.c    Sun Jan 09 19:58:55 2005 +0000
+++ b/sys/kern/sys_process.c    Sun Jan 09 20:25:26 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sys_process.c,v 1.93 2005/01/09 19:22:55 christos Exp $        */
+/*     $NetBSD: sys_process.c,v 1.94 2005/01/09 20:25:26 christos Exp $        */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -89,7 +89,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.93 2005/01/09 19:22:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.94 2005/01/09 20:25:26 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -362,8 +362,8 @@
                                free(dst, M_TEMP);
                                return error;
                        }
+                       path = dst;
                        path[len] = '\0';
-                       path = dst;
                }
                error = coredump(lt, path);
                if (path)



Home | Main Index | Thread Index | Old Index