Browse Source

bug fix in a formatting string

Jiri Kuthan 23 years ago
parent
commit
3a7d29ef39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fifo_server.c

+ 1 - 1
fifo_server.c

@@ -429,7 +429,7 @@ int open_fifo_server()
 	t=ctime(&up_since);
 	if (strlen(t)+1>=MAX_CTIME_LEN) {
 		LOG(L_ERR, "ERROR: open_fifo_server: "
-			"too long date %s\n", strlen(t));
+			"too long date %d\n", strlen(t));
 		return -1;
 	}
 	memcpy(up_since_ctime,t,strlen(t)+1);