patch-utils_mount_error_c 349 B

1234567891011
  1. --- nfs-utils-1.2.8.orig/utils/mount/error.c 2013-04-22 18:47:20.000000000 +0200
  2. +++ nfs-utils-1.2.8/utils/mount/error.c 2013-08-13 10:46:19.000000000 +0200
  3. @@ -62,7 +62,7 @@ static int rpc_strerror(int spos)
  4. char *tmp;
  5. if (estr) {
  6. - if ((ptr = index(estr, ':')))
  7. + if ((ptr = strchr(estr, ':')))
  8. estr = ++ptr;
  9. tmp = &errbuf[spos];