Author: emaste
Date: Tue Aug  7 13:11:47 2012
New Revision: 239130
URL: http://svn.freebsd.org/changeset/base/239130

Log:
  Minor style(9) improvement

Modified:
  head/share/examples/kld/dyn_sysctl/dyn_sysctl.c

Modified: head/share/examples/kld/dyn_sysctl/dyn_sysctl.c
==============================================================================
--- head/share/examples/kld/dyn_sysctl/dyn_sysctl.c     Tue Aug  7 12:45:46 
2012        (r239129)
+++ head/share/examples/kld/dyn_sysctl/dyn_sysctl.c     Tue Aug  7 13:11:47 
2012        (r239130)
@@ -59,7 +59,7 @@ load(module_t mod, int cmd, void *arg)
 
        error = 0;
        switch (cmd) {
-       case MOD_LOAD :
+       case MOD_LOAD:
                /* Initialize the contexts */
                printf("Initializing contexts and creating subtrees.\n\n");
                sysctl_ctx_init(&clist);
@@ -123,7 +123,7 @@ load(module_t mod, int cmd, void *arg)
                    OID_AUTO, "string_c", CTLFLAG_RD, c, 0, "shouldn't panic");
                printf("3. (%p) /kern/dyn_sysctl  bad           (WRONG!)\n", 
&clist2);
                break;
-       case MOD_UNLOAD :
+       case MOD_UNLOAD:
                printf("1. Try to free ctx1 (%p): ", &clist);
                if (sysctl_ctx_free(&clist) != 0)
                        printf("failed: expected. Need to remove ctx3 
first.\n");
@@ -153,7 +153,7 @@ load(module_t mod, int cmd, void *arg)
                } else
                        printf("Ok\n");
                break;
-       default :
+       default:
                error = EOPNOTSUPP;
                break;
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to