Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 1998 08:37:13 -0400 (EDT)
From:      Brian Feldman <green@janus.syracuse.net>
To:        current@FreeBSD.ORG
Subject:   kern_linker.c typoes
Message-ID:  <Pine.BSF.4.05.9810240832180.23858-200000@janus.syracuse.net>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I think the patch is self-explanatory.

Cheers,
Brian Feldman

P.S.:
[File /home2/green/kl.diff attached as type TEXT/PLAIN]
So if it doesn't come out as such, it's time to blame the pine people.

[-- Attachment #2 --]
--- /usr/src/sys/kern/kern_linker.c     Thu Oct 15 23:45:23 1998
+++ /tmp/kern_linker.c  Sat Oct 24 00:29:18 1998
@@ -702,14 +702,14 @@
        modname = (char *)preload_search_info(modptr, MODINFO_NAME);
        modtype = (char *)preload_search_info(modptr, MODINFO_TYPE);
        if (modname == NULL) {
-           printf("Preloaded module at 0x%p does not have a name!\n", modptr);
+           printf("Preloaded module at %p does not have a name!\n", modptr);
            continue;
        }
        if (modtype == NULL) {
-           printf("Preloaded module at 0x%p does not have a type!\n", modptr);
+           printf("Preloaded module at %p does not have a type!\n", modptr);
            continue;
        }
-       printf("Preloaded %s \"%s\" at 0x%p.\n", modtype, modname, modptr);
+       printf("Preloaded %s \"%s\" at %p.\n", modtype, modname, modptr);
        lf = linker_find_file_by_name(modname);
        if (lf) {
            lf->userrefs++;

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9810240832180.23858-200000>