netsmb: Fix a warning and put smb_usr.c under -Werror, too.
authorSascha Wildner <saw@online.de>
Wed, 24 Feb 2010 20:45:09 +0000 (21:45 +0100)
committerSascha Wildner <saw@online.de>
Wed, 24 Feb 2010 20:45:09 +0000 (21:45 +0100)
sys/netproto/smb/smb_dev.h
sys/platform/pc32/conf/files

index 002a961..f634054 100644 (file)
@@ -113,7 +113,7 @@ struct smbioc_rq {
 struct smbioc_t2rq {
        u_int16_t       ioc_setup[3];
        int             ioc_setupcnt;
-       const char *    ioc_name;
+       char *          ioc_name;
        u_short         ioc_tparamcnt;
        void *          ioc_tparam;
        u_short         ioc_tdatacnt;
index c3bad9e..7630e3e 100644 (file)
@@ -358,4 +358,4 @@ netproto/smb/smb_rq.c                       optional        netsmb
 netproto/smb/smb_smb.c                 optional        netsmb
 netproto/smb/smb_subr.c                        optional        netsmb
 netproto/smb/smb_trantcp.c             optional        netsmb
-netproto/smb/smb_usr.c                 optional nowerror       netsmb
+netproto/smb/smb_usr.c                 optional        netsmb