Kaynağa Gözat

Remove warning in logsys compile related to const correctness.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2463 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 16 yıl önce
ebeveyn
işleme
60d50de816
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      exec/logsys.c

+ 1 - 1
exec/logsys.c

@@ -1303,7 +1303,7 @@ void _logsys_log_vprintf (
 	unsigned int len;
 	unsigned int level;
 	int subsysid;
-	char * short_file_name;
+	const char *short_file_name;
 
 	subsysid = LOGSYS_DECODE_SUBSYSID(rec_ident);
 	level = LOGSYS_DECODE_LEVEL(rec_ident);