~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xfree86/os-support/solaris/sun_vid.c

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 * OF THIS SOFTWARE.
23
23
 *
24
24
 */
25
 
/* Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 
25
/* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
26
26
 *
27
27
 * Permission is hereby granted, free of charge, to any person obtaining a
28
28
 * copy of this software and associated documentation files (the "Software"),
157
157
    if (munmap(Base, Size) != 0) {
158
158
        xf86DrvMsgVerb(ScreenNum, X_WARNING, 0,
159
159
                       "solUnMapVidMem: failed to unmap %s"
160
 
                       " (0x%08lx,0x%lx) (%s)\n",
 
160
                       " (0x%p,0x%lx) (%s)\n",
161
161
                       apertureDevName, Base, Size,
162
162
                       strerror(errno));
163
163
    }
212
212
    (void)memcpy(Buf, (void *)(ptr + Offset), Len);
213
213
    if (munmap((caddr_t)ptr, mlen) != 0) {
214
214
        xf86MsgVerb(X_WARNING, 0,
215
 
                    "solUnMapVidMem: failed to unmap %s"
216
 
                    " (0x%08lx,0x%lx) (%s)\n",
 
215
                    "xf86ReadBIOS: failed to unmap %s (0x%p,0x%x) (%s)\n",
217
216
                    apertureDevName, ptr, mlen, strerror(errno));
218
217
    }
219
218