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

--- smartd.cpp.orig	Sun Nov 12 13:49:09 2006
+++ smartd.cpp
@@ -310,7 +310,7 @@ void PrintOneCVS(const char *a_cvs_id){
 
 // prints CVS identity information for the executable
 void PrintCVS(void){
-  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]";
 
   PrintOut(LOG_INFO,(char *)copyleftstring);
   PrintOut(LOG_INFO,"CVS version IDs of files used to build this code are:\n");