mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Added const qualifier.
This commit is contained in:
parent
14e619d39e
commit
fed479813e
@ -1130,7 +1130,7 @@ pty_open_slave (const char *pty_name)
|
||||
static int pty_open_master (char *pty_name)
|
||||
{
|
||||
int pty_master;
|
||||
char *ptr1, *ptr2;
|
||||
const char *ptr1, *ptr2;
|
||||
|
||||
strcpy (pty_name, "/dev/ptyXX");
|
||||
for (ptr1 = "pqrstuvwxyzPQRST"; *ptr1; ++ptr1)
|
||||
|
Loading…
Reference in New Issue
Block a user