--- org/fprobe-1.1/src/fprobe.c	2005-01-30 09:43:35.000000000 +0100
+++ fprobe-ng-1.1/src/fprobe.c	2007-02-23 09:51:31.000000000 +0100
@@ -1255,12 +1255,12 @@
 		if (*parms[lflag].arg) log_dest = atoi(parms[lflag].arg);
 		if (log_suffix) *--log_suffix = ':';
 	}
-	if (!(pidfilepath = malloc(sizeof(PID_DIR) + 1 + strlen(ident) + 1 + 3 + 1))) {
+	if (!(pidfilepath = malloc(sizeof(PID_DIR) + 1 + strlen(ident) + 1 + strlen(dev) + 1 + 3 + 1))) {
 	err_malloc:
 		fprintf(stderr, "malloc(): %s\n", strerror(errno));
 		exit(1);
 	}
-	sprintf(pidfilepath, "%s/%s.pid", PID_DIR, ident);
+	sprintf(pidfilepath, "%s/%s-%s.pid", PID_DIR, ident, dev);
 	if (parms[qflag].count) {
 		pending_queue_length = atoi(parms[qflag].arg);
 		if (pending_queue_length < 1) {

