Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libukfs default to UKFS_PARTITION_NONE in argvprobe
details: https://anonhg.NetBSD.org/src/rev/c1406b9c4510
branches: trunk
changeset: 748793:c1406b9c4510
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Nov 05 14:22:54 2009 +0000
description:
default to UKFS_PARTITION_NONE in argvprobe
diffstat:
lib/libukfs/ukfs.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 6dcc8c85fde2 -r c1406b9c4510 lib/libukfs/ukfs.h
--- a/lib/libukfs/ukfs.h Thu Nov 05 14:17:07 2009 +0000
+++ b/lib/libukfs/ukfs.h Thu Nov 05 14:22:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ukfs.h,v 1.11 2009/10/07 20:51:00 pooka Exp $ */
+/* $NetBSD: ukfs.h,v 1.12 2009/11/05 14:22:54 pooka Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Antti Kantee. All Rights Reserved.
@@ -123,6 +123,7 @@
((a) != UKFS_PARTITION_NONE && (a) != UKFS_PARTITION_NA)
#define UKFS_PARTITION_ARGVPROBE(part) \
do { \
+ part = UKFS_PARTITION_NONE; \
if (argc >= 3) \
ukfs_partition_probe(argv[argc-2], &part); \
} while (/*CONSTCOND*/0)
Home |
Main Index |
Thread Index |
Old Index