View | Details | Raw Unified | Return to bug 15690 | Differences between
and this patch

Collapse All | Expand All

(-)savecore.c (-1 / +1 lines)
Lines 383-389 Link Here
383
	rawp = rawname(ddname);
383
	rawp = rawname(ddname);
384
	if ((ifd = open(rawp, O_RDONLY)) == -1) {
384
	if ((ifd = open(rawp, O_RDONLY)) == -1) {
385
		syslog(LOG_WARNING, "%s: %m; using block device", rawp);
385
		syslog(LOG_WARNING, "%s: %m; using block device", rawp);
386
		ifd = dumpfd;
386
		ifd = dup(dumpfd);
387
	}
387
	}
388
388
389
	/* Seek to the start of the core. */
389
	/* Seek to the start of the core. */

Return to bug 15690