diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-22 23:25:56 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2001-03-22 23:25:56 +0000 |
commit | b450bae44d70bb2710bd00ea06a34fe431f42402 (patch) | |
tree | dea25574eb11bfa353d189fdec4da31c34130065 /mdk-stage1/tools.h | |
parent | 3501ea18f65d2790e1d4ede91d99003fd3763e8e (diff) | |
download | drakx-backup-do-not-use-b450bae44d70bb2710bd00ea06a34fe431f42402.tar drakx-backup-do-not-use-b450bae44d70bb2710bd00ea06a34fe431f42402.tar.gz drakx-backup-do-not-use-b450bae44d70bb2710bd00ea06a34fe431f42402.tar.bz2 drakx-backup-do-not-use-b450bae44d70bb2710bd00ea06a34fe431f42402.tar.xz drakx-backup-do-not-use-b450bae44d70bb2710bd00ea06a34fe431f42402.zip |
- fix detection of more than 3 scsi attached devices
- cleaner code for cmp of ptr against static strings
Diffstat (limited to 'mdk-stage1/tools.h')
-rw-r--r-- | mdk-stage1/tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdk-stage1/tools.h b/mdk-stage1/tools.h index 8ec084451..85295492b 100644 --- a/mdk-stage1/tools.h +++ b/mdk-stage1/tools.h @@ -46,5 +46,7 @@ struct param_elem char * value; }; +#define ptr_begins_static_str(pointer,static_str) (!strncmp(pointer,static_str,sizeof(static_str)-1)) + #endif |