Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/smbfs fix KASSERT() in smbfs_findnextLM1() to actuall...



details:   https://anonhg.NetBSD.org/src/rev/a626783a9346
branches:  trunk
changeset: 543349:a626783a9346
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Feb 23 21:26:26 2003 +0000

description:
fix KASSERT() in smbfs_findnextLM1() to actually compile

diffstat:

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

diffs (18 lines):

diff -r 3bb8df4eb2ba -r a626783a9346 sys/fs/smbfs/smbfs_smb.c
--- a/sys/fs/smbfs/smbfs_smb.c  Sun Feb 23 21:25:19 2003 +0000
+++ b/sys/fs/smbfs/smbfs_smb.c  Sun Feb 23 21:26:26 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smbfs_smb.c,v 1.6 2003/02/21 20:15:01 jdolecek Exp $   */
+/*     $NetBSD: smbfs_smb.c,v 1.7 2003/02/23 21:26:26 jdolecek Exp $   */
 
 /*
  * Copyright (c) 2000-2001 Boris Popov
@@ -883,7 +883,7 @@
        md_get_uint16le(mbp, &time);
        md_get_uint16le(mbp, &date);
        md_get_uint32le(mbp, &size);
-       KASSERT(ctx->f_name == ctx->f_fname);
+       KASSERT(ctx->f_name == (char *) ctx->f_fname);
        cp = ctx->f_name;
        md_get_mem(mbp, cp, sizeof(ctx->f_fname), MB_MSYSTEM);
        cp[sizeof(ctx->f_fname) - 1] = '\0';



Home | Main Index | Thread Index | Old Index