projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
waitpid: Fix link error in C++ mode.
[pspp]
/
lib
/
mountlist.c
diff --git
a/lib/mountlist.c
b/lib/mountlist.c
index 126f43ddc82baef9c5e8f7c47d540362446428b8..96e2b269f010e586bb6f325fa1d4cfb1d93d7a5b 100644
(file)
--- a/
lib/mountlist.c
+++ b/
lib/mountlist.c
@@
-166,7
+166,8
@@
me_remote (char const *fs_name, char const *fs_type _GL_UNUSED)
{
if (fs_name[0] && fs_name[1] == ':')
{
- char const drive[3] = { fs_name[0], ':', '\0' };
+ char drive[4];
+ sprintf (drive, "%c:\\", fs_name[0]);
switch (GetDriveType (drive))
{
case DRIVE_REMOVABLE: