patch-utils_mount_error_c 349 B

1234567891011
  1. --- nfs-utils-1.2.1.orig/utils/mount/error.c 2009-11-04 12:13:56.000000000 +0100
  2. +++ nfs-utils-1.2.1/utils/mount/error.c 2009-12-25 19:32:49.000000000 +0100
  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];