DragonFly BSD
DragonFly submit List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

mount WARNS


From: Andreas Hauser <andy@xxxxxxxxxxxxxxx>
Date: 10 Jun 2006 15:28:44 +0200

Hoi,

deconst

-- 
Andy


diff -r 9bff3c77bbfb sbin/mount/mount_ufs.c
--- a/sbin/mount/mount_ufs.c	Sat Jun 03 10:41:26 2006 +0000
+++ b/sbin/mount/mount_ufs.c	Fri Jun 09 23:16:09 2006 +0200
@@ -87,7 +88,7 @@ mount_ufs(int argc, const char **argv)
 	if (argc != 2)
 		ufs_usage();
 
-        args.fspec = argv[0];		/* The name of the device file. */
+        args.fspec = __DECONST(char *, argv[0]);	/* The name of the device file. */
 	fs_name = argv[1];		/* The mount point. */
 
 #define DEFAULT_ROOTUID	-2



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]