1
0

patch-utils_mount_error_c 399 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- nfs-utils-1.1.3.orig/utils/mount/error.c 2008-07-27 23:01:45.000000000 +0200
  3. +++ nfs-utils-1.1.3/utils/mount/error.c 2008-10-06 16:58:40.000000000 +0200
  4. @@ -62,7 +62,7 @@ static int rpc_strerror(int spos)
  5. char *tmp;
  6. if (estr) {
  7. - if ((ptr = index(estr, ':')))
  8. + if ((ptr = strchr(estr, ':')))
  9. estr = ++ptr;
  10. tmp = &errbuf[spos];