Module Name:    src
Committed By:   pgoyette
Date:           Mon Apr 21 20:24:21 UTC 2014

Modified Files:
        src/sys/dev/pcmcia: if_malo_pcmcia.c

Log Message:
Insert { ... } to keep gcc happy when DPRINTF() macro is empty.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/pcmcia/if_malo_pcmcia.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pcmcia/if_malo_pcmcia.c
diff -u src/sys/dev/pcmcia/if_malo_pcmcia.c:1.4 src/sys/dev/pcmcia/if_malo_pcmcia.c:1.5
--- src/sys/dev/pcmcia/if_malo_pcmcia.c:1.4	Fri Feb 21 02:10:40 2014
+++ src/sys/dev/pcmcia/if_malo_pcmcia.c	Mon Apr 21 20:24:21 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_malo_pcmcia.c,v 1.4 2014/02/21 02:10:40 christos Exp $	*/
+/*	$NetBSD: if_malo_pcmcia.c,v 1.5 2014/04/21 20:24:21 pgoyette Exp $	*/
 /*      $OpenBSD: if_malo.c,v 1.65 2009/03/29 21:53:53 sthen Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.4 2014/02/21 02:10:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.5 2014/04/21 20:24:21 pgoyette Exp $");
 
 #ifdef _MODULE
 #include <sys/module.h>
@@ -1859,9 +1859,10 @@ cmalo_cmd_rsp_assoc(struct malo_softc *s
 		DPRINTF(1, "%s: association failed (status %d)\n",
 		    device_xname(sc->sc_dev), body->status);
 		sc->sc_flags |= MALO_ASSOC_FAILED;
-	} else
+	} else {
 		DPRINTF(1, "%s: association successful\n",
 		    device_xname(sc->sc_dev));
+	}
 
 	return 0;
 }

Reply via email to