Author: allanjude
Date: Tue Jul  3 05:53:27 2018
New Revision: 335883
URL: https://svnweb.freebsd.org/changeset/base/335883

Log:
  stand/common/disk.c: dev->d_offset still needs to be set to 0
  
  With r335868, I thought this was no longer necessary. I was wrong.
  
  Reported by:  ian
  Sponsored by: Klara Systems

Modified:
  head/stand/common/disk.c

Modified: head/stand/common/disk.c
==============================================================================
--- head/stand/common/disk.c    Tue Jul  3 04:02:40 2018        (r335882)
+++ head/stand/common/disk.c    Tue Jul  3 05:53:27 2018        (r335883)
@@ -244,6 +244,7 @@ disk_open(struct disk_devdesc *dev, uint64_t mediasize
        partdev.d_slice = -1;
        partdev.d_partition = -1;
 
+       dev->d_offset = 0;
        table = NULL;
        slice = dev->d_slice;
        partition = dev->d_partition;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to