sysvinit/sysvinit-2.88dsf-nfs.patch

22 lines
615 B
Diff

--- src/killall5.c
+++ src/killall5.c 2010-10-21 09:51:07.771926189 +0000
@@ -112,8 +112,8 @@ typedef struct _s_nfs
struct _s_nfs *next; /* Pointer to next struct. */
struct _s_nfs *prev; /* Pointer to previous st. */
SHADOW *shadow; /* Pointer to shadows */
- char * name;
size_t nlen;
+ char * name;
} NFS;
/* List of processes. */
@@ -346,7 +346,7 @@ static void clear_mnt(void)
}
/*
- * Check if path is ia shadow off a NFS partition.
+ * Check if path is a shadow of a NFS partition.
*/
static int shadow(SHADOW *restrict this, const char *restrict name, const size_t nlen)
{