Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/smbfs http://m00nbsd.net/ae123a9bae03f7dde5c6d654412d...



details:   https://anonhg.NetBSD.org/src/rev/daf4053f36f4
branches:  trunk
changeset: 331488:daf4053f36f4
user:      maxv <maxv%NetBSD.org@localhost>
date:      Tue Aug 12 06:57:20 2014 +0000

description:
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2

#04-0x01: Uninitialized var 'rqp' (does not compile anyway)

diffstat:

 sys/fs/smbfs/smbfs_smb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c86feb2cdc79 -r daf4053f36f4 sys/fs/smbfs/smbfs_smb.c
--- a/sys/fs/smbfs/smbfs_smb.c  Tue Aug 12 06:49:10 2014 +0000
+++ b/sys/fs/smbfs/smbfs_smb.c  Tue Aug 12 06:57:20 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_smb.c,v 1.44 2012/11/30 23:24:21 nakayama Exp $  */
+/*     $NetBSD: smbfs_smb.c,v 1.45 2014/08/12 06:57:20 maxv Exp $      */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbfs_smb.c,v 1.44 2012/11/30 23:24:21 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbfs_smb.c,v 1.45 2014/08/12 06:57:20 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -778,7 +778,7 @@
        struct mbchain *mbp;
        int error;
 
-       error = smb_rq_alloc(rqp, SSTOCP(ssp), SMB_COM_MOVE, scred, &rqp);
+       error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_MOVE, scred, &rqp);
        if (error)
                return error;
        smb_rq_getrequest(rqp, &mbp);



Home | Main Index | Thread Index | Old Index