OSDN Git Service

va: fix new line symbol in error message
[android-x86/hardware-intel-common-libva.git] / va / va.c
diff --git a/va/va.c b/va/va.c
index a950c6a..306984f 100644 (file)
--- a/va/va.c
+++ b/va/va.c
@@ -386,7 +386,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
         void *handle = NULL;
         char *driver_path = va_getDriverPath(driver_dir, driver_name);
         if (!driver_path) {
-            va_errorMessage(dpy, "%s L%d Out of memory!n",
+            va_errorMessage(dpy, "%s L%d Out of memory\n",
                             __FUNCTION__, __LINE__);
             free(search_path);
             return VA_STATUS_ERROR_ALLOCATION_FAILED;