From a21e2203392175c443a1564e1cc7088bcae69d84 Mon Sep 17 00:00:00 2001 From: krw Date: Sun, 20 Jul 2008 13:40:27 +0000 Subject: [PATCH] Use NULL instead of 0 for pointer parameters. ok jsing@ --- sys/arch/sgi/sgi/disksubr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sgi/sgi/disksubr.c b/sys/arch/sgi/sgi/disksubr.c index 8d3ad6c0e37..60a44c8f74a 100644 --- a/sys/arch/sgi/sgi/disksubr.c +++ b/sys/arch/sgi/sgi/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.6 2008/06/12 06:58:36 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.7 2008/07/20 13:40:27 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -93,11 +93,11 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; - msg = readsgilabel(bp, strat, lp, 0, spoofonly); + msg = readsgilabel(bp, strat, lp, NULL, spoofonly); if (msg == NULL) goto done; - msg = readdoslabel(bp, strat, lp, 0, spoofonly); + msg = readdoslabel(bp, strat, lp, NULL, spoofonly); if (msg == NULL) goto done; -- 2.20.1