bitset: fix an incorrect error message.

* lib/bitset_stats.c: here.
	Reported by Stefano Lattarini.
This commit is contained in:
Akim Demaille
2012-02-19 10:31:20 +01:00
parent f483f4f8ec
commit a7497ca6b6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -98,6 +98,7 @@ Sebastian Setzer [email protected]
Sebastien Fricker [email protected] Sebastien Fricker [email protected]
Sergei Steshenko [email protected] Sergei Steshenko [email protected]
Shura [email protected] Shura [email protected]
Stefano Lattarini [email protected]
Steve Murphy [email protected] Steve Murphy [email protected]
Summum Bonum [email protected] Summum Bonum [email protected]
Thiru Ramakrishnan [email protected] Thiru Ramakrishnan [email protected]
+1 -1
View File
@@ -284,7 +284,7 @@ bitset_stats_write (const char *file_name)
{ {
if (fwrite (&bitset_stats_info_data, sizeof (bitset_stats_info_data), if (fwrite (&bitset_stats_info_data, sizeof (bitset_stats_info_data),
1, file) != 1) 1, file) != 1)
perror (_("cannot not write stats file")); perror (_("cannot write stats file"));
if (fclose (file) != 0) if (fclose (file) != 0)
perror (_("cannot write stats file")); perror (_("cannot write stats file"));
} }