summaryrefslogtreecommitdiff
path: root/driver/xf86-video-nv/src/riva_dga.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-08-22 12:29:28 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-08-22 12:29:28 +0000
commit3ee16a263dc221489e6f26bc32140c5d71c35609 (patch)
tree09fc6b10952722066b05e4cc99b0c1025da3407e /driver/xf86-video-nv/src/riva_dga.c
parentf23300683699bc2ce1fa9f0f17cdde28c221d92e (diff)
Update to xf86-video-nv 2.1.18.
Tested at least by krw@, benoit@ and giovanni@.
Diffstat (limited to 'driver/xf86-video-nv/src/riva_dga.c')
-rw-r--r--driver/xf86-video-nv/src/riva_dga.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/driver/xf86-video-nv/src/riva_dga.c b/driver/xf86-video-nv/src/riva_dga.c
index 5338554c7..7a984f1db 100644
--- a/driver/xf86-video-nv/src/riva_dga.c
+++ b/driver/xf86-video-nv/src/riva_dga.c
@@ -1,5 +1,3 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/riva/riva_dga.c $ */
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -71,7 +69,7 @@ SECOND_PASS:
if(secondPitch)
pitch = secondPitch;
- if(!(newmodes = xrealloc(modes, (*num + 1) * sizeof(DGAModeRec))))
+ if(!(newmodes = realloc(modes, (*num + 1) * sizeof(DGAModeRec))))
break;
modes = newmodes;