Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-02-07 21:34:29 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-02-07 21:34:29 +0400
commitb23ef0bc0aa1da5638b43f966fd4bd42f6160f81 (patch)
treeae1e9f22bc793b9228054b94923da8bb96668663 /winsup/cygwin/mount.cc
parent3b8698d7bed1bcc8d0473188003a8e57871b0fd4 (diff)
* mount.cc (mount_info::create_root_entry): Fix format specifier in
api_fatal message.
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r--winsup/cygwin/mount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index 1bdd0a2e8..5724298b3 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -1,7 +1,7 @@
/* mount.cc: mount handling.
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.
@@ -450,7 +450,7 @@ mount_info::create_root_entry (const PWCHAR root)
if (add_item (native_root, "/",
MOUNT_SYSTEM | MOUNT_BINARY | MOUNT_IMMUTABLE | MOUNT_AUTOMATIC)
< 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.
This allows to override it with mount, unless the sysadmin created
a cygdrive entry in /etc/fstab. */