Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 20:25:19 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 97820 for review
Message-ID:  <200605252025.k4PKPJCO032270@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97820

Change 97820 by jhb@jhb_mutex on 2006/05/25 20:25:10

	Only load it once.
	
	Pointy hat to:	phk

Affected files ...

.. //depot/projects/smpng/sys/dev/digi/digi.c#31 edit

Differences ...

==== //depot/projects/smpng/sys/dev/digi/digi.c#31 (text+ko) ====

@@ -783,7 +783,6 @@
 	modlen = strlen(sc->module);
 	modfile = malloc(modlen + 6, M_TEMP, M_WAITOK);
 	snprintf(modfile, modlen + 6, "digi_%s", sc->module);
-	res = linker_reference_module(modfile, NULL, &lf);
 	if ((res = linker_reference_module(modfile, NULL, &lf)) != 0)
 		printf("%s: Failed %d to autoload module\n", modfile, res);
 	free(modfile, M_TEMP);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605252025.k4PKPJCO032270>