summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/patches/patch-ae
blob: 31b0876108cef6ccce51a17a86d6b434182683d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.1 2007/10/19 03:56:13 taca Exp $

--- smartctl.cpp.orig	Mon Oct  9 20:45:12 2006
+++ smartctl.cpp
@@ -82,7 +82,7 @@ void PrintOneCVS(const char *a_cvs_id){
 }
 
 void printcopy(){
-  char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]";
+  const char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]";
 
   pout("smartctl comes with ABSOLUTELY NO WARRANTY. This\n");
   pout("is free software, and you are welcome to redistribute it\n");