$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");
