Blob Blame History Raw
--- src/GParted_Core.cc	2008-02-04 09:35:47.000000000 -0500
+++ src/GParted_Core.cc.new2	2008-02-07 15:57:14.000000000 -0500
@@ -527,7 +527,7 @@
 	std::ifstream proc_partitions( "/proc/partitions" ) ;
 	if ( proc_partitions )
 	{
-		char c_str[255] ;
+		char c_str[PATH_MAX+1] ;
 		
 		while ( getline( proc_partitions, line ) )
 			if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 )