* mount.cc (mount_info::create_root_entry): Fix format specifier in
api_fatal message.
This commit is contained in:
parent
3b8698d7be
commit
b23ef0bc0a
|
@ -1,3 +1,8 @@
|
||||||
|
2012-02-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* mount.cc (mount_info::create_root_entry): Fix format specifier in
|
||||||
|
api_fatal message.
|
||||||
|
|
||||||
2012-02-07 Corinna Vinschen <corinna@vinschen.de>
|
2012-02-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/process.h: Move here from include/cygwin subdir.
|
* include/process.h: Move here from include/cygwin subdir.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* mount.cc: mount handling.
|
/* mount.cc: mount handling.
|
||||||
|
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
||||||
2006, 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
|
2006, 2007, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc.
|
||||||
|
|
||||||
This file is part of Cygwin.
|
This file is part of Cygwin.
|
||||||
|
|
||||||
|
@ -450,7 +450,7 @@ mount_info::create_root_entry (const PWCHAR root)
|
||||||
if (add_item (native_root, "/",
|
if (add_item (native_root, "/",
|
||||||
MOUNT_SYSTEM | MOUNT_BINARY | MOUNT_IMMUTABLE | MOUNT_AUTOMATIC)
|
MOUNT_SYSTEM | MOUNT_BINARY | MOUNT_IMMUTABLE | MOUNT_AUTOMATIC)
|
||||||
< 0)
|
< 0)
|
||||||
api_fatal ("add_item (\"%W\", \"/\", ...) failed, errno %d", native_root, errno);
|
api_fatal ("add_item (\"%s\", \"/\", ...) failed, errno %d", native_root, errno);
|
||||||
/* Create a default cygdrive entry. Note that this is a user entry.
|
/* Create a default cygdrive entry. Note that this is a user entry.
|
||||||
This allows to override it with mount, unless the sysadmin created
|
This allows to override it with mount, unless the sysadmin created
|
||||||
a cygdrive entry in /etc/fstab. */
|
a cygdrive entry in /etc/fstab. */
|
||||||
|
|
Loading…
Reference in New Issue