瀏覽代碼

sony-laptop: newline-terminate the printk for backlight change failure

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Adam Jackson 16 年之前
父節點
當前提交
0ef9cff15d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/misc/sony-laptop.c

+ 1 - 1
drivers/misc/sony-laptop.c

@@ -970,7 +970,7 @@ static int sony_nc_resume(struct acpi_device *device)
 	/* set the last requested brightness level */
 	if (sony_backlight_device &&
 			!sony_backlight_update_status(sony_backlight_device))
-		printk(KERN_WARNING DRV_PFX "unable to restore brightness level");
+		printk(KERN_WARNING DRV_PFX "unable to restore brightness level\n");
 
 	/* re-initialize models with specific requirements */
 	dmi_check_system(sony_nc_ids);