1
0

patch-tty_c 394 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- heyu-2.6.0.orig/tty.c 2009-01-19 03:57:00.000000000 +0100
  3. +++ heyu-2.6.0/tty.c 2009-05-29 14:08:06.087764489 +0200
  4. @@ -395,7 +395,7 @@ char *make_lock_name ( char *ttydev )
  5. struct stat stat_buf;
  6. /* strip the leading path name */
  7. - ptr = rindex(ttydev, '/');
  8. + ptr = strrchr(ttydev, '/');
  9. devstr = dev_string;