diff options
author | pjd <pjd@FreeBSD.org> | 2008-08-12 20:19:08 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2008-08-12 20:19:08 +0000 |
commit | 664b89e716167d21ccdccf60985adb2676571426 (patch) | |
tree | 03548edae79b53841032a5de1d98b9c94005f22a /sys | |
parent | 6872e8fc85deae982056048a9c87659bd50c3f83 (diff) | |
download | FreeBSD-src-664b89e716167d21ccdccf60985adb2676571426.zip FreeBSD-src-664b89e716167d21ccdccf60985adb2676571426.tar.gz |
Style(9).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/eli/g_eli.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index bfb708c..f4fdcf3 100644 --- a/sys/geom/eli/g_eli.c +++ b/sys/geom/eli/g_eli.c @@ -663,13 +663,14 @@ g_eli_create(struct gctl_req *req, struct g_class *mp, struct g_provider *bpp, */ if (LIST_EMPTY(&sc->sc_workers)) { error = crypto_newsession(&wr->w_sid, &crie, - CRYPTOCAP_F_HARDWARE); + CRYPTOCAP_F_HARDWARE); if (error == 0) sc->sc_crypto = G_ELI_CRYPTO_HW; } - if (sc->sc_crypto == G_ELI_CRYPTO_SW) + if (sc->sc_crypto == G_ELI_CRYPTO_SW) { error = crypto_newsession(&wr->w_sid, &crie, - CRYPTOCAP_F_SOFTWARE); + CRYPTOCAP_F_SOFTWARE); + } if (error != 0) { free(wr, M_ELI); if (req != NULL) { |