mount WARNS
Andreas Hauser
andy at splashground.de
Sat Jun 10 06:33:09 PDT 2006
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
More information about the Submit
mailing list